WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MDILayoutPanel

    Show / Hide Table of Contents

    Class MDILayoutPanel

    Represents layout panel for MDIWindow.

    Inheritance
    System.Object
    MDILayoutPanel
    Implements
    ILayoutPanel
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class MDILayoutPanel : FrameworkElement, ILayoutPanel, IDisposable

    Constructors

    MDILayoutPanel()

    Initializes a new instance of the MDILayoutPanel class.

    Declaration
    public MDILayoutPanel()

    Fields

    ContainerProperty

    Represents the Container Dependency Property

    Declaration
    public static readonly DependencyProperty ContainerProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ContainerPropertyKey

    Represents the ContainerPropertyKey

    Declaration
    protected static readonly DependencyPropertyKey ContainerPropertyKey
    Field Value
    Type Description
    System.Windows.DependencyPropertyKey

    Properties

    Container

    Gets or sets the value of the Container dependency property.

    Declaration
    public DocumentContainer Container { get; protected set; }
    Property Value
    Type Description
    DocumentContainer

    LogicalChildren

    Gets enumerator for the logical children.

    Declaration
    protected override IEnumerator LogicalChildren { get; }
    Property Value
    Type Description
    System.Collections.IEnumerator

    VisualChildrenCount

    Gets count of the visual children.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    ArrangeOverride(Size)

    Arranges elements.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

    The final area within the parent that this element should use to arrange itself and its children.

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    BackforwardSwitchImmediate()

    Back forward the switch immediate.

    Declaration
    public void BackforwardSwitchImmediate()

    CanSwitch()

    Determines whether this instance can switch.

    Declaration
    public bool CanSwitch()
    Returns
    Type Description
    System.Boolean

    true if this instance can switch; otherwise, false.

    CreateChildDocumentParams(FrameworkElement, Boolean)

    Creates the child document params.

    Declaration
    public ChildDocumentParams CreateChildDocumentParams(FrameworkElement element, bool isActive)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement element

    The element.

    System.Boolean isActive

    if set to true [is active].

    Returns
    Type Description
    ChildDocumentParams

    ChildDocument Params

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    FindCorrectStartPoint()

    Finds the correct start point.

    Declaration
    public void FindCorrectStartPoint()

    ForwardSwitchImmediate(Boolean, Boolean)

    Forwards the switch immediate.

    Declaration
    public void ForwardSwitchImmediate(bool firstTabulation, bool isKeepCircle)
    Parameters
    Type Name Description
    System.Boolean firstTabulation

    if set to true [first tabulation].

    System.Boolean isKeepCircle

    if set to true [is keep circle].

    GetContent(Control)

    Gets the Content.

    Declaration
    public UIElement GetContent(Control wrapper)
    Parameters
    Type Name Description
    System.Windows.Controls.Control wrapper

    The wrapper.

    Returns
    Type Description
    System.Windows.UIElement

    UIElement content

    GetOrderedItems()

    Gets the ordered items.

    Declaration
    public IList<Control> GetOrderedItems()
    Returns
    Type Description
    System.Collections.Generic.IList<System.Windows.Controls.Control>

    Ilist Control Items

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.

    MeasureOverride(Size)

    When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

    Returns
    Type Description
    System.Windows.Size

    The size that this element determines it needs during layout, based on its calculations of child element sizes.

    OnContainerChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises ContainerChanged event.

    Declaration
    protected virtual void OnContainerChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnInitialized(EventArgs)

    Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

    Declaration
    protected override void OnInitialized(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.Windows.RoutedEventArgs that contains the event data.

    OnKeyboardOverrideModeChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises KeyboardOverrideModeChanged event.

    Declaration
    protected virtual void OnKeyboardOverrideModeChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    OnVisualParentChanged(DependencyObject)

    Invoked when the parent of this element in the visual tree is changed. Overrides System.Windows.UIElement.OnVisualParentChanged(System.Windows.DependencyObject).

    Declaration
    protected override void OnVisualParentChanged(DependencyObject oldParent)
    Parameters
    Type Name Description
    System.Windows.DependencyObject oldParent

    The old parent element. May be null to indicate that the element did not have a visual parent previously.

    RefreshChildrenVisibility()

    Refreshes the visibility of the items.

    Declaration
    public void RefreshChildrenVisibility()

    ResetVisibleList()

    Resets the visible list.

    Declaration
    public void ResetVisibleList()

    SetActiveDocument(UIElement)

    Sets the active document.

    Declaration
    public void SetActiveDocument(UIElement element)
    Parameters
    Type Name Description
    System.Windows.UIElement element

    The element.

    SetActiveItem(FrameworkElement)

    Sets the active item.

    Declaration
    public void SetActiveItem(FrameworkElement activeItem)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement activeItem

    The active item.

    SetActiveWindow(Control)

    Sets the active window.

    Declaration
    public void SetActiveWindow(Control wrapper)
    Parameters
    Type Name Description
    System.Windows.Controls.Control wrapper

    The wrapper.

    SetFocus()

    Sets the focus.

    Declaration
    public void SetFocus()

    SetLayout(MDILayout)

    Sets the layout.

    Declaration
    public void SetLayout(MDILayout layout)
    Parameters
    Type Name Description
    MDILayout layout

    The layout.

    UpdateAfterPersistLoad()

    Sets the focus after persist load.

    Declaration
    public void UpdateAfterPersistLoad()

    Events

    ContainerChanged

    Event that is raised when Container property is changed.

    Declaration
    public event PropertyChangedCallback ContainerChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    Implements

    ILayoutPanel
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved