Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (143).NET Core  (23)Angular  (39)ASP.NET  (47)ASP.NET Core  (53)ASP.NET MVC  (83)Azure  (26)Blazor  (47)DocIO  (18)Essential JS 2  (64)Essential Studio  (159)Flutter  (52)JavaScript  (134)Microsoft  (96)PDF  (48)React  (29)Succinctly series  (118)Syncfusion  (399)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (25)Webinar  (14)Windows Forms  (52)WPF  (92)Xamarin  (105)XlsIO  (20)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (99)Chart  (40)Cloud  (8)Company  (445)Dashboard  (4)Data Science  (3)Data Validation  (2)DataGrid  (31)Development  (233)Doc  (7)eBook  (89)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (13)Extensions  (7)File Manager  (3)Gantt  (6)Gauge  (4)Git  (3)Grid  (24)HTML  (8)Installer  (1)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (139)Mobile MVC  (9)OLAP server  (1)Orubase  (12)Partners  (20)PDF viewer  (15)Performance  (2)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (15)SfDataGrid  (7)Silverlight  (21)Sneak Peek  (12)Solution Services  (2)Spreadsheet  (2)SQL  (4)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (9)Tips and Tricks  (15)UI  (62)Uncategorized  (68)Unix  (2)User interface  (48)Visual State Manager  (1)Visual Studio  (12)Visual Studio Code  (7)Web  (96)What's new  (61)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin

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:

Share on twitter
Share on facebook
Share on linkedin

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top