Syncfusion Components for UWP | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (14)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (66)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (919)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (36)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (150)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (40)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)

Syncfusion Components for the Universal Windows Platform

We are excited to present this new way of building Windows 10 apps, and we have already released the Beta version of our custom components. This post provides an outline of Syncfusion’s custom components for the Microsoft Universal Windows Platform.Universal Windows Sample Browser

Figure 1: Syncfusion Essential Studio for Universal Windows Sample Browser

A brief introduction to the Universal Windows Platform

The Universal Windows Platform provides developers with an option to develop Windows store applications by using a common code base that can run on a wide variety of devices such as Phones, Tablets, DeskTop, Xbox, HoloLens, IoT, and Surface Hub.

 Universal Windows Platform

Figure 2: Universal Windows Platform

To develop a UWP application, Visual Studio 2015 and Windows 10 ToolKit are needed in the Windows 10 machine.

Sneak peek of Syncfusion’s Radial Menu control for UWP

As a Microsoft Visual Studio Launch Partner, Syncfusion has released a beta version of custom controls. We are developing several components, but the first one to be showcased here is the Radial Menu control.

Walkthrough of Using the Syncfusion Radial Menu in a UWP Application

1.     After installing all prerequisites, like Visual Studio 2015 and Windows 10, in the Windows 10 machine, you can find the following Universal Windows Template in the Visual Studio 2015’s New Project Dialog.

 

Universal Windows TemplatesFigure 3: Visual Studio 2015 New Project’s Template Dialog Shows Universal Windows Templates

 

2.       Create a Blank App with the desired name and location. This generates a single project as shown in the following image. The Windows 8 Universal Platform generates the Windows project, Windows Phone project, and shared project that creates two apps for Windows and Windows phone separately. Here, it generates only one app that can run across all Windows devices. The following code adds the Syncfusion SfRadialMenu to the application.

Example Project Template Using Radial MenuFigure 4: Example Project Template Using Radial Menu

 <Page
x:Class="Syncfusion.SfRadialMenu.Sample.MainPage"
    >="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    >:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >:local="using:RadialMenu" >:syncfusion="using:Syncfusion.UI.Xaml.Controls.Navigation"
    >:d="http://schemas.microsoft.com/expression/blend/2008"
    >:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Resources>
        <Style TargetType="Image">
            <Setter Property="Width" Value="16"/>
            <Setter Property="Stretch" Value="Uniform"/>
        </Style>
        <Style TargetType="TextBlock">
            <Setter Property="FontSize" Value="12"/>
            <Setter Property="Margin" Value="3"/>
        </Style>
    </Page.Resources>
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <syncfusion:SfRadialMenu HorizontalAlignment="Center" RimHoverBrush="#FF464646"
                                   VerticalAlignment="Center" IsOpen="True"
                                     x:Name="selectionmenu" Padding="5">
            <syncfusion:SfRadialMenu.RenderTransform>
                <CompositeTransform x:Name="transform1"/>
            </syncfusion:SfRadialMenu.RenderTransform>
            <syncfusion:SfRadialMenu.Icon>
                <Grid Background="Transparent">
                    <Image Source="Assets/text.png" Width="20" Stretch="Uniform"/>
                </Grid>
            </syncfusion:SfRadialMenu.Icon>
            <syncfusion:SfRadialMenuItem ToolTip="Bold" ToolTipPlacement="Top"  >
                <syncfusion:SfRadialMenuItem.Header>
                    <Border Background="Transparent" Padding="5">
                        <StackPanel>
                            <Image Source="Assets/Text-Bold.png"/>
                            <TextBlock Text="Bold"/>
                        </StackPanel>
                    </Border>
                </syncfusion:SfRadialMenuItem.Header>
                <syncfusion:SfRadialMenuItem ToolTip="Bold" ToolTipPlacement="Top" >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/Text-Bold.png"/>
                                <TextBlock Text="Bold"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem ToolTip="Italic" ToolTipPlacement="Top"  >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/Text Italic.png"/>
                                <TextBlock Text="Italic"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem ToolTip="SubScript" ToolTipPlacement="Top"  >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/subscript.png"/>
                                <TextBlock Text="Subscript" FontSize="9" TextWrapping="Wrap"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem  ToolTip="SuperScript" ToolTipPlacement="Top"  >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/superscript.png"/>
                                <TextBlock Text="Superscript" FontSize="9" TextWrapping="Wrap"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem ToolTip="Strike" ToolTipPlacement="Top"  >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/strike.png"/>
                                <TextBlock Text="Strike"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem ToolTip="Underline" ToolTipPlacement="Top"  >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/Underline.png"/>
                                <TextBlock Text="Underline"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
            </syncfusion:SfRadialMenuItem>
            <!--Undo Redo-->
            <syncfusion:SfRadialMenuItem Name="Main_undo" ToolTip="Undo" ToolTipPlacement="Top" >
                <syncfusion:SfRadialMenuItem.Header>
                    <Border Background="Transparent" Padding="5">
                        <StackPanel>
                            <Image Name="undoImage1" Source="Assets/Undo.png"/>
                            <TextBlock Name="Undotext1" Text="Undo"/>
                        </StackPanel>
                    </Border>
                </syncfusion:SfRadialMenuItem.Header>
                <syncfusion:SfRadialMenuItem Name="Inner_Undo" ToolTip="Undo" ToolTipPlacement="Top" >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Name="undoImage2" Source="Assets/Undo.png"/>
                                <TextBlock Name="undotext2" Text="Undo"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
                <syncfusion:SfRadialMenuItem ToolTip="Redo" ToolTipPlacement="Top" >
                    <syncfusion:SfRadialMenuItem.Header>
                        <Border Background="Transparent" Padding="5">
                            <StackPanel>
                                <Image Source="Assets/Redo.png"/>
                                <TextBlock Text="Redo"/>
                            </StackPanel>
                        </Border>
                    </syncfusion:SfRadialMenuItem.Header>
                </syncfusion:SfRadialMenuItem>
            </syncfusion:SfRadialMenuItem>
        </syncfusion:SfRadialMenu>
    </Grid>
</Page>

     

3. Compile and run the application. The following screenshot displays the Syncfusion SfRadialMenu in various devices.

 Appearance of the Radial Menu on Universal Windows-Based Devices

Figure 5: Appearance of the Radial Menu on Universal Windows-Based Devices

Summary

The Syncfusion Essential Studio for Universal Windows Sample Browser comprises several real-time samples to showcase components that display Syncfusion controls on various devices.  

 

Real-time samples of Sales Analysis

Figure 6: Real-time samples of Sales Analysis and Unit Converter implemented by using controls like Chart, Gauge, and Editors

Content Editor: Usha Clementine Henry

Content Contributor: Selva Ganapathy Kathiresan

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed