Represent a layout for the items contained in a strip
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCommandBarItemsPanel : StackLayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementLayoutPanelStackLayoutPanelRadCommandBarItemsPanel...
Implements:
Inherited Members
Constructors
Creates a panel that arranges the supplied items and stores overflowed items in the specified layout.
public RadCommandBarItemsPanel(RadCommandBarBaseItemCollection itemsCollection, LayoutPanel overflowPannel)
The collection of items displayed in the main strip layout.
overflowPannelLayoutPanelThe layout that hosts items moved out of the main strip layout.
Properties
Gets or sets whether items that do not fit are moved into the overflow panel.
public bool AllowOverflow { get; set; }
Methods
Arranges the main-layout items in orientation order, distributing available space among stretched items and honoring right-to-left horizontal layout.
Measures items along the panel's orientation, moving items between the main collection and overflow layout as space changes when overflow is enabled.
Raises the ItemOutOfOverflow event.
Raises the ItemOverflowed event.
Propagates orientation changes to strip items that inherit their parent's orientation, including overflowed items.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Details of the changed property.
Overrides:
Events
Occurs when an item is restored from the overflow panel to the strip's main layout.
public event EventHandler ItemOutOfOverflow
Occurs when an item is moved from the strip's main layout into its overflow panel.
public event EventHandler ItemOverflowed