Class RadSplitContainer
Layout control that stacks pane items with splitters in-between. Not to be used outside RadDocking.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Docking.dll
Syntax
[TelerikToolboxCategory("Containers")]
public class RadSplitContainer : ItemsControl, ISplitItem, IDocumentHostAware, IToolWindowAware, IThemable, ISupportsResize
Constructors
RadSplitContainer()
Fields
InitialPositionProperty
Identifies the InitialPosition dependency property.
Declaration
public static readonly DependencyProperty InitialPositionProperty
Field Value
System.
|
OrientationProperty
Identifies the OrientationProperty dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.
|
SplitterPositionProperty
Identifies the ResizerPosition property.
Declaration
public static readonly DependencyProperty SplitterPositionProperty
Field Value
System.
|
Properties
Control
Gets the actual control that will be a visual child of the SplitContainer.
Declaration
public Control Control { get; }
Property Value
System.
|
Implements
InitialPosition
Gets or sets the initial position.
Declaration
public DockState InitialPosition { get; set; }
Property Value
Dock The initial position. |
IsInDocumentHost
Gets a value indicating whether the object is contained within a DocumentHost.
Declaration
public bool IsInDocumentHost { get; }
Property Value
System.
|
IsInToolWindow
Gets a value indicating whether the object is contained within a ToolWindow.
Declaration
public bool IsInToolWindow { get; }
Property Value
System.
|
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
System. The orientation. |
ParentContainer
Gets or sets the SplitContainer that holds the item.
Declaration
public RadSplitContainer ParentContainer { get; }
Property Value
Rad The RadSplitContainer that contains the split container. |
Implements
SplitterPosition
Gets the position of the Resizer in the RadSplitContainer template.
Declaration
public Nullable<Dock> SplitterPosition { get; }
Property Value
System.
|
Methods
AddItem(ISplitItem, DockPosition, ISplitItem)
Adds the item relative to another item.
Declaration
public void AddItem(ISplitItem item, DockPosition dockPosition, ISplitItem relativeTo)
Parameters
ISplit The item to be added. |
Dock The relative position at which the item will be added. |
ISplit The item, relative to which the new one will be added. |
ChangeVisualState(Boolean)
Updates the visual states of the control.
Declaration
protected virtual void ChangeVisualState(bool useTransitions)
Parameters
System. Identifies whether the transitions should be used. |
ClearContainerForItemOverride(DependencyObject, Object)
Clears the container for item override.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System. The element. |
System. The item. |
EnumeratePanes()
Enumerates the panes contained by the split item and its children.
Declaration
public IEnumerable<RadPane> EnumeratePanes()
Returns
System.
|
Implements
GetContainerForItemOverride()
Gets the container for item override.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System. Ready for use container. |
GoToState(Boolean, String[])
Attempts to move the control to one of the states in the list.
Declaration
protected void GoToState(bool useTransitions, params string[] stateNames)
Parameters
System. Indicates whether transitions should be used. |
System. The names of the states that should be reached. |
IsItemItsOwnContainerOverride(Object)
Determines whether is the specified item its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System. The item. |
Returns
System.
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnIsInDocumentHostChanged(Boolean, Boolean)
Called when the IsInDocumentHost property changes. Allows the control to change its appearance and behavior when placed in a DocumentHost.
Declaration
protected virtual void OnIsInDocumentHostChanged(bool oldValue, bool newValue)
Parameters
System. The old value of the property. |
System. The new value of the property. |
OnIsInToolWindowChanged(Boolean, Boolean)
Called when the IToolWindowAware property changes. Allows the control to change its appearance and behavior when placed in a ToolWindow.
Declaration
protected virtual void OnIsInToolWindowChanged(bool oldValue, bool newValue)
Parameters
System. The old value of the property. |
System. The new value of the property. |
OnItemsChanged(NotifyCollectionChangedEventArgs)
Raises the Items
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System. The System. |
OnLoaded(Object, RoutedEventArgs)
Called when the Loaded event is fired.
Declaration
protected virtual void OnLoaded(object sender, RoutedEventArgs e)
Parameters
System. The sender. |
System. The System. |
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the container for item override.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System. The element. |
System. The item. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()