RadGalleryItem
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
public RadGalleryItem()
Fields
public static RadProperty DescriptionFontProperty
Properties
public BorderPrimitive BorderPrimitive { get; }
Gets or sets the font of the description text of the RadGalleryItem.
public virtual Font DescriptionFont { get; set; }
Gets or sets the description text associated with this item.
[Browsable(true)]
[Bindable(true)]
[SettingsBindable(true)]
public string DescriptionText { get; set; }
public FillPrimitive FillPrimitive { get; }
Angle of rotation for the button image. Unlike AngleTransform the property ImagePrimitiveAngleTransform rotates the image only. AngleTransform rotates the whole item
public float ImagePrimitiveAngleTransform { get; set; }
Returns whether the gallery item is currently selected.
[Browsable(false)]
public bool IsSelected { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Initializes the internal state fields for the button item, setting default values for shared image and capture behavior.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF 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:
In this method call to the Measure method of each child must be made.
Handles property changes, specifically releasing the pressed state when the button is disabled.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs containing event data.
Overrides:
Returns a string representation of the RadComponentElement, including its site name if available.
public override string ToString()
A string containing the site name and type name if the element has a site; otherwise, just the type name.
Overrides:
public void ZoomHide()