RadPaneGroup
Represents a group of panes within a docking layout, providing functionality for managing and organizing panes.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Docking.dll
Syntax:
[TelerikToolboxCategory("Containers")]
public class RadPaneGroup : PaneGroupBase, ISplitItem
Inheritance: objectRadTabControlBaseRadTabControlPaneGroupBaseRadPaneGroup
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadPaneGroup class.
public RadPaneGroup()
Fields
DocumentHostTemplateProperty
DependencyProperty
Identifies the DocumentHostTemplate property.
public static readonly DependencyProperty DocumentHostTemplateProperty
IsInDocumentHostProperty
DependencyProperty
Identifies the IsInDocumentHost property.
public static readonly DependencyProperty IsInDocumentHostProperty
IsPaneHeaderVisibleProperty
DependencyProperty
Identifies the IsPaneHeaderVisible dependency property.
public static readonly DependencyProperty IsPaneHeaderVisibleProperty
IsSingleItemProperty
DependencyProperty
Identifies the IsSingleItem dependency property.
public static readonly DependencyProperty IsSingleItemProperty
SplitterPositionProperty
DependencyProperty
Identifies the ResizerPosition dependency property.
public static readonly DependencyProperty SplitterPositionProperty
Properties
Control
Control
Gets the actual control that will be a visual child of the SplitContainer.
public Control Control { get; }
Implements:
DocumentHostTemplate
ControlTemplate
Gets or sets the template that will be applied to the TabGroup when it is in a DocumentHost. This is a dependency property.
public ControlTemplate DocumentHostTemplate { get; set; }
Gets a value indicating whether the object is contained within a DocumentHost.
public bool IsInDocumentHost { get; }
Gets a value indicating whether the object is contained within a ToolWindow.
public bool IsInToolWindow { get; }
Gets a value indicating whether the PaneHeader control is visible.
public bool IsPaneHeaderVisible { get; }
Gets a value indicating whether the instance has a single item.
public bool IsSingleItem { get; }
Gets or sets the SplitContainer that holds the item.
public RadSplitContainer ParentContainer { get; }
The RadSplitContainer that contains the pane group.
Implements:
SplitterPosition
Dock?
Gets the position of the Resizer in the RadPaneGroup template.
public Dock? SplitterPosition { get; }
Gets all the unpinned panes owned by the PaneGroup.
public IEnumerable<RadPane> UnpinnedPanes { get; }
Methods
Adds the group to the specified position.
public void AddItem(ISplitItem item, DockPosition dockPosition)
The split item to be added.
dockPositionDockPositionThe position at which the group will be added.
Adds the pane to the specified position.
public void AddItem(RadPane pane, DockPosition dockPosition)
The pane to be added.
dockPositionDockPositionThe position at which the pane will be added.
Updates the visual states of the control.
protected override void ChangeVisualState(bool useTransitions)
Identifies whether the transitions should be used.
Overrides:
When overridden in a derived class, undoes the effects of the method.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
The container element.
itemobjectThe Item.
Overrides:
Enumerates the panes contained by the split item and its children.
FindTemplateFromPosition(Dock)
ControlTemplate
Finds the template from position.
protected override ControlTemplate FindTemplateFromPosition(Dock position)
The position.
Returns:ControlTemplate
Overrides:
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
Overrides:
Hides all panes.
public void HideAllPanes()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Provides an appropriate RadPaneGroupAutomationPeer implementation for this control, as part of the automation infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides:
Called when a dock item is dragged.
protected virtual void OnDockingElementReordered(Point globalPosition, object reorderedElement)
The global position of the mouse.
reorderedElementobjectThe element that was reordered.
Raises the event and sets from the active theme.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Called when the IToolWindowAware property changes. Allows the control to change its appearance and behavior when placed in a ToolWindow.
Invoked when the property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Information about the change.
Overrides:
Pins all panes.
public void PinAllPanes()
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.
Overrides:
Removes from parent.
public void RemoveFromParent()
Removes the pane from the group.
Shows all panes.
public void ShowAllPanes()
Unpins all panes.
public void UnpinAllPanes()