Class CollapsibleElement
Defines methods and properties for a collapsible element. For example, RadRibonBarChunk is a collapsible element.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class CollapsibleElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
CollapsibleElement()
Declaration
protected CollapsibleElement()
Fields
collapsableChildren
Declaration
public IList<CollapsibleElement> collapsableChildren
Field Value
System.Collections.Generic.IList<CollapsibleElement>
|
invalidateCollapsableChildrenCollection
Declaration
protected bool invalidateCollapsableChildrenCollection
Field Value
System.Boolean
|
Properties
AllowCollapsed
Declaration
public bool AllowCollapsed { get; set; }
Property Value
System.Boolean
|
CollapseMaxSteps
Declaration
public abstract int CollapseMaxSteps { get; }
Property Value
System.Int32
|
CollapseStep
Declaration
public int CollapseStep { get; set; }
Property Value
System.Int32
|
CreateAdapterMethod
Declaration
public CollapsibleElement.CreateAdapterDelegate CreateAdapterMethod { get; set; }
Property Value
CollapsibleElement.CreateAdapterDelegate
|
SizeAfterCollapsing
Declaration
public SizeF SizeAfterCollapsing { get; set; }
Property Value
System.Drawing.SizeF
|
SizeBeforeCollapsing
Declaration
public SizeF SizeBeforeCollapsing { get; set; }
Property Value
System.Drawing.SizeF
|
Methods
CanCollapseToStep(Int32)
Declaration
public abstract bool CanCollapseToStep(int nextStep)
Parameters
System.Int32
nextStep
|
Returns
System.Boolean
|
CanExecuteExpandCollapse(RadItem, Boolean, ChunkVisibilityState)
Declaration
protected virtual bool CanExecuteExpandCollapse(RadItem item, bool isExpanding, ChunkVisibilityState nextState)
Parameters
RadItem
item
|
System.Boolean
isExpanding
|
ChunkVisibilityState
nextState
|
Returns
System.Boolean
|
CanExpandToStep(Int32)
Declaration
public abstract bool CanExpandToStep(int nextStep)
Parameters
System.Int32
nextStep
|
Returns
System.Boolean
|
CollapseCollection(Int32)
Declaration
protected virtual bool CollapseCollection(int nextStep)
Parameters
System.Int32
nextStep
|
Returns
System.Boolean
|
CollapseElementToStep(Int32)
Declaration
public abstract bool CollapseElementToStep(int collapseStep)
Parameters
System.Int32
collapseStep
|
Returns
System.Boolean
|
ExpandCollection(Int32)
Declaration
protected virtual bool ExpandCollection(int nextStep)
Parameters
System.Int32
nextStep
|
Returns
System.Boolean
|
ExpandElementToStep(Int32)
Declaration
public abstract bool ExpandElementToStep(int collapseStep)
Parameters
System.Int32
collapseStep
|
Returns
System.Boolean
|
FillCollapsableChildrenCollection(RadElement)
Declaration
protected void FillCollapsableChildrenCollection(RadElement baseItem)
Parameters
RadElement
baseItem
|
FindCollapsibleChild(RadElement)
Declaration
protected virtual CollapsibleElement FindCollapsibleChild(RadElement item)
Parameters
RadElement
item
|
Returns
CollapsibleElement
|
InvalidateIfNeeded()
Declaration
protected virtual void InvalidateIfNeeded()
OnIsSimplifiedChanged()
Declaration
protected virtual void OnIsSimplifiedChanged()
ResetStateSizes()
Declaration
protected void ResetStateSizes()