Class ImageData
Represents a class for displaying data along with its image.
Inheritance
System.Object
ImageData
Namespace: Syncfusion.UI.Xaml.PivotClient
Assembly: Syncfusion.SfPivotClient.UWP.dll
Syntax
public class ImageData : Object
Constructors
ImageData(String, DataTemplate)
Initializes a new instance of the ImageData class.
Declaration
public ImageData(string name, DataTemplate data)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name for the data to be displayed. |
Windows.UI.Xaml.DataTemplate | data | The path for the data to be displayed. |
ImageData(String, BitmapImage)
Initializes a new instance of the ImageData class.
Declaration
public ImageData(string name, BitmapImage image)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name for the data to be displayed. |
Windows.UI.Xaml.Media.Imaging.BitmapImage | image | The image for the data to be displayed. |
Properties
StyleImage
Gets or set the image for the data.
Declaration
public BitmapImage StyleImage { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Imaging.BitmapImage |
StyleName
Gets or sets the unique name for the data.
Declaration
public string StyleName { get; set; }
Property Value
Type |
---|
System.String |
StylePath
Declaration
public DataTemplate StylePath { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |