Holds the raster or SVG image and application data used to create a toolbar action button.
The visual element copies these values when it is created; changing this item does not update an existing button.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ToolbarActionDataItem
Inheritance: objectToolbarActionDataItem
Constructors
Initializes an action with a raster image.
public ToolbarActionDataItem(Image image)
The image assigned to the toolbar button.
Initializes an action with an SVG image and application data.
public ToolbarActionDataItem(RadSvgImage svgImage, object userData)
The SVG image assigned to the toolbar button.
userDataobjectApplication-defined data associated with the action.
Initializes an action with an SVG image.
public ToolbarActionDataItem(RadSvgImage svgImage)
The SVG image assigned to the toolbar button.
Properties
Gets or sets the raster image copied to the toolbar button.
public Image Image { get; set; }
Gets or sets the SVG image copied to the toolbar button.
public RadSvgImage SvgImage { get; set; }