Class LayoutControlGroupItem
Represents an item which hosts other items that inherit from LayoutControlItemBase. Has a header element and a LayoutControlContainerElement which holds the items. Can be expanded and collapsed.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutControlGroupItem : LayoutControlItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
LayoutControlGroupItem()
Declaration
public LayoutControlGroupItem()
Fields
HeaderHeightProperty
IsExpandedProperty
Properties
AutoSize
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
ContainerElement
Gets the container element which hosts the items within the group.
Declaration
public LayoutControlContainerElement ContainerElement { get; }
Property Value
LayoutControlContainerElement
|
DrawBorder
Declaration
public override bool DrawBorder { get; set; }
Property Value
System.Boolean
|
Overrides
HeaderElement
Gets the header element of the group.
Declaration
public CollapsiblePanelHeaderElement HeaderElement { get; }
Property Value
CollapsiblePanelHeaderElement
|
HeaderHeight
Gets or sets the height of the header.
Declaration
[VsbBrowsable(true)]
[RadPropertyDefaultValue("HeaderHeight", typeof(LayoutControlGroupItem))]
public int HeaderHeight { get; set; }
Property Value
System.Int32
|
IsExpanded
Gets or sets a value indicating whether the group is currently expanded.
Declaration
[RadPropertyDefaultValue("IsExpanded", typeof(LayoutControlGroupItem))]
public bool IsExpanded { get; set; }
Property Value
System.Boolean
|
Items
Gets the items within the group.
Declaration
public RadItemCollection Items { get; }
Property Value
RadItemCollection
|
MaxSize
Declaration
public override Size MaxSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
MinSize
Declaration
public override Size MinSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
ShowHeaderLine
Gets or sets a value indicating whether the line in the header element should be shown.
Declaration
public bool ShowHeaderLine { get; set; }
Property Value
System.Boolean
|
ShowHorizontalLine
Declaration
public override bool ShowHorizontalLine { get; set; }
Property Value
System.Boolean
|
Overrides
TextAlignment
Declaration
public override ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
Overrides
TextWrap
Declaration
public override bool TextWrap { get; set; }
Property Value
System.Boolean
|
Overrides
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateContainerElement()
Declaration
protected virtual LayoutControlContainerElement CreateContainerElement()
Returns
LayoutControlContainerElement
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
OnParentChanged(RadElement)
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
RadElement
previousParent
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs e)
Parameters
RadPropertyChangingEventArgs
e
|
Overrides
UpdateOnExpandCollapse()
Called when the group is expanded or collapsed to do the necessary updates.
Declaration
protected virtual void UpdateOnExpandCollapse()
Events
Collapsed
Occurs when the group item is collapsed.
Declaration
public event EventHandler Collapsed
Event Type
System.EventHandler
|
Collapsing
Occurs when the group item is about to be collapsed. Cancelable.
Declaration
public event CancelEventHandler Collapsing
Event Type
System.ComponentModel.CancelEventHandler
|
Expanded
Occurs when the group item is expanded.
Declaration
public event EventHandler Expanded
Event Type
System.EventHandler
|
Expanding
Occurs when the group item is about to be expanded. Cancelable.
Declaration
public event CancelEventHandler Expanding
Event Type
System.ComponentModel.CancelEventHandler
|