Basic Library for WinRT
Adding an Icon to a Radial Menu Item

In this step, you will learn how to add an icon to a C1RadialMenuItem|tag=C1RadialMenuItem_Class.

In XAML

Complete the following steps:

  1. Add an icon image to your Windows Store project. A 12x12 pixel image is best.
  2. Add the following XAML markup between the <Xaml:C1RadialMenuItem> and </Xaml:C1RadialMenuItem> tags, replacing the value of the Source property with your image's name:
Markup
Copy Code
<Xaml:C1RadialMenuItem.Icon>
     <Image Source="YourImage.png" Height="12" Width="12" Margin="5,0,0,0"/>
</Xaml:C1RadialMenuItem.Icon>
  1. Run the project.

This Topic Illustrates the Following:

The following image depicts a C1RadialMenuItem with a 12x12 pixel icon.

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback