RadTaskDialogIcon
A class that represents the icon of RadTaskDialogPage
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialogIcon : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTaskDialogIcon...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadTaskDialogIcon class.
Initializes a new instance of the RadTaskDialogIcon class.
Initializes a new instance of the RadTaskDialogIcon class.
public RadTaskDialogIcon(IntPtr iconHandle)
The handle of the icon that will be displayed.
Initializes a new instance of the RadTaskDialogIcon class.
public RadTaskDialogIcon(RadSvgImage svgImage)
The vector image that will be displayed.
Properties
Gets an RadTaskDialogIcon with image that indicates error.
public static RadTaskDialogIcon Error { get; }
Gets the icon handle.
public IntPtr IconHandle { get; }
Gets or sets the type of the RadTaskDialogIcon.
public RadTaskDialogIconType? IconType { get; set; }
Gets or sets the image of the RadTaskDialogIcon
public override Image Image { get; set; }
Overrides:
Gets an RadTaskDialogIcon with image that indicates information.
public static RadTaskDialogIcon Information { get; }
Gets an RadTaskDialogIcon with no image.
public static RadTaskDialogIcon None { get; }
Gets an RadTaskDialogIcon with image that indicates shield.
public static RadTaskDialogIcon Shield { get; }
Gets an RadTaskDialogIcon with image that indicates shield and defines a blue background for the RadTaskDialogHeaderLayout.
public static RadTaskDialogIcon ShieldBlueBar { get; }
Gets an RadTaskDialogIcon with image that indicates shield and defines a red background for the RadTaskDialogHeaderLayout.
public static RadTaskDialogIcon ShieldErrorRedBar { get; }
Gets an RadTaskDialogIcon with image that indicates shield and defines a gray background for the RadTaskDialogHeaderLayout.
public static RadTaskDialogIcon ShieldGrayBar { get; }
Gets an RadTaskDialogIcon with image that indicates shield and defines a green background for the RadTaskDialogHeaderLayout.
public static RadTaskDialogIcon ShieldSuccessGreenBar { get; }
Gets an RadTaskDialogIcon with image that indicates shield and defines a yellow background for the RadTaskDialogHeaderLayout.
public static RadTaskDialogIcon ShieldWarningYellowBar { get; }
Gets an RadTaskDialogIcon with image that indicates warning.
public static RadTaskDialogIcon Warning { get; }
Methods
Gets a large image 26x26px by given RadTaskDialogIconImage.
public static Bitmap GetLargeImage(RadTaskDialogIconImage icon)
The type of the image to be returned.
Returns:The image.
Gets a small image 16x16px by given RadTaskDialogIconImage.
public static Bitmap GetSmallImage(RadTaskDialogIconImage icon)
The type of the image to be returned.
Returns:The image.
Gets a vector image by given RadTaskDialogIconImage.
public static RadSvgImage GetSvgImage(RadTaskDialogIconImage icon, Size? size = null)
The type of the vector image to be returned.
sizeSize?The default size of the vector image.
Returns:An instance of RadSvgImage.
Configures the icon to draw only its image and to remain collapsed until an image is assigned.
protected override void InitializeFields()
Overrides:
Updates the icon's visibility when its bitmap or SVG image changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change that may affect image visibility.
Overrides: