ClassRadGalleryItem
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadGalleryItem : RadButtonItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement, ICloneable
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadButtonItemRadGalleryItem
Derived Classes:
Implements:
Inherited Members
Constructors
RadGalleryItem()
Declaration
public RadGalleryItem()
Fields
DescriptionFontProperty
Declaration
public static RadProperty DescriptionFontProperty
Field Value
Properties
BorderPrimitive
Declaration
public BorderPrimitive BorderPrimitive { get; }
Property Value
DescriptionFont
Gets or sets the font of the description text of the RadGalleryItem.
DescriptionText
Gets or sets the description text associated with this item.
Declaration
[Browsable(true)]
[Bindable(true)]
[SettingsBindable(true)]
public string DescriptionText { get; set; }
Property Value
FillPrimitive
Declaration
public FillPrimitive FillPrimitive { get; }
Property Value
ImagePrimitiveAngleTransform
Angle of rotation for the button image. Unlike AngleTransform the property ImagePrimitiveAngleTransform rotates the image only. AngleTransform rotates the whole item
Declaration
public float ImagePrimitiveAngleTransform { get; set; }
Property Value
IsSelected
Returns whether the gallery item is currently selected.
Declaration
[Browsable(false)]
public bool IsSelected { get; set; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
InitializeFields()
Initializes the internal state fields for the button item, setting default values for shared image and capture behavior.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property changes, specifically releasing the pressed state when the button is disabled.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs containing event data.
Overrides
ToString()
Returns a string representation of the RadComponentElement, including its site name if available.
Declaration
public override string ToString()
Returns
A string containing the site name and type name if the element has a site; otherwise, just the type name.
Overrides
ZoomHide()
Declaration
public void ZoomHide()