Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CollapsiblePanelHeaderElement : StackLayoutElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementStackLayoutElementCollapsiblePanelHeaderElement...
Implements:
Inherited Members
Constructors
public CollapsiblePanelHeaderElement()
Fields
public static readonly RadProperty ExpandDirectionProperty
public static readonly RadProperty HorizontalHeaderAlignmentProperty
public static readonly RadProperty IsExpandedProperty
public static readonly RadProperty ShowHeaderLineProperty
public static readonly RadProperty VericalHeaderAlignmentProperty
Properties
Gets the expand collapse button element.
public CollapsiblePanelButtonElement HeaderButtonElement { get; }
The expand collapse button element.
Gets the header line element.
public LinePrimitive HeaderLineElement { get; }
The header line element.
Gets the header text element.
public CollapsiblePanelTextElement HeaderTextElement { get; }
The header text element.
Gets or sets the horizontal header alignment.
public RadHorizontalAlignment HorizontalHeaderAlignment { get; set; }
The horizontal header alignment.
Gets or sets a value indicating whether to show a line primitive in the header.
public bool ShowHeaderLine { get; set; }
true if a line in the header is visible; otherwise, false.
Gets or sets the vertical header alignment.
public RadVerticalAlignment VerticalHeaderAlignment { get; set; }
The vertical header alignment.
Methods
Arranges the element.
protected override void ArrangeElement(RadElement element, RectangleF clientRect, RectangleF finalRect, SizeF finalSize)
The element.
clientRectRectangleFThe client rect.
finalRectRectangleFThe final rect.
finalSizeSizeFThe final size.
Overrides:
Creates the button element.
protected virtual CollapsiblePanelButtonElement CreateButtonElement()
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Creates the line element.
Creates the text element.
protected virtual CollapsiblePanelTextElement CreateTextElement()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
protected override void InitializeFields()
Overrides:
Raises the event.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs instance containing the event data.
Overrides: