ClassCollapsiblePanelHeaderElement
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
CollapsiblePanelHeaderElement()
Declaration
public CollapsiblePanelHeaderElement()
Fields
ExpandDirectionProperty
Declaration
public static readonly RadProperty ExpandDirectionProperty
Field Value
HorizontalHeaderAlignmentProperty
Declaration
public static readonly RadProperty HorizontalHeaderAlignmentProperty
Field Value
IsExpandedProperty
Declaration
public static readonly RadProperty IsExpandedProperty
Field Value
ShowHeaderLineProperty
Declaration
public static readonly RadProperty ShowHeaderLineProperty
Field Value
VericalHeaderAlignmentProperty
Declaration
public static readonly RadProperty VericalHeaderAlignmentProperty
Field Value
Properties
HeaderButtonElement
Gets the expand collapse button element.
Declaration
public CollapsiblePanelButtonElement HeaderButtonElement { get; }
Property Value
The expand collapse button element.
HeaderLineElement
Gets the header line element.
Declaration
public LinePrimitive HeaderLineElement { get; }
Property Value
The header line element.
HeaderTextElement
Gets the header text element.
Declaration
public CollapsiblePanelTextElement HeaderTextElement { get; }
Property Value
The header text element.
HorizontalHeaderAlignment
Gets or sets the horizontal header alignment.
Declaration
public RadHorizontalAlignment HorizontalHeaderAlignment { get; set; }
Property Value
The horizontal header alignment.
ShowHeaderLine
Gets or sets a value indicating whether to show a line primitive in the header.
Declaration
public bool ShowHeaderLine { get; set; }
Property Value
true if a line in the header is visible; otherwise, false.
VerticalHeaderAlignment
Gets or sets the vertical header alignment.
Declaration
public RadVerticalAlignment VerticalHeaderAlignment { get; set; }
Property Value
The vertical header alignment.
Methods
ArrangeElement(RadElement, RectangleF, RectangleF, SizeF)
Arranges the element.
Declaration
protected override void ArrangeElement(RadElement element, RectangleF clientRect, RectangleF finalRect, SizeF finalSize)
Parameters
element
The element.
clientRect
The client rect.
finalRect
The final rect.
finalSize
The final size.
Overrides
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
CreateButtonElement()
Creates the button element.
Declaration
protected virtual CollapsiblePanelButtonElement CreateButtonElement()
Returns
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateLineElement()
Creates the line element.
Declaration
protected virtual LinePrimitive CreateLineElement()
Returns
CreateTextElement()
Creates the text element.
Declaration
protected virtual CollapsiblePanelTextElement CreateTextElement()
Returns
InitializeFields()
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.
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the event.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The RadPropertyChangedEventArgs instance containing the event data.
Overrides