In This Article

DockingWindow Class

Represents the base class for a docking window implementation.

public abstract class DockingWindow : ContentControl, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue, IDockTarget
Inheritance:
object AvaloniaObject Animatable StyledElement Visual Layoutable Interactive InputElement Control TemplatedControl ContentControl object
Derived:
DocumentWindow ToolWindow
Implements:
IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue IDockTarget

Constructors

DockingWindow(bool)

Initializes an instance of the class.

protected DockingWindow(bool isContainerForItem = false)
Parameter Type Description
isContainerForItem bool

Whether the window has been auto-created as a container for an item.

Properties

ActivateCommand

The ICommand that can Activate(bool) the window.

public ICommand ActivateCommand { get; }

Property Value

ICommand

CanAttach

Indicates whether the window may be attached to another window, creating a tabbed grouping.

public bool? CanAttach { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanAttachResolved

A resolved value indicating whether the window may be attached to another window, creating a tabbed grouping.

public bool CanAttachResolved { get; protected set; }

Property Value

bool:

true if the window may be attached to another window, creating a tabbed grouping; otherwise, false.

CanBecomeDocumentResolved

A resolved value indicating whether the window may be placed in a document state.

public bool CanBecomeDocumentResolved { get; protected set; }

Property Value

bool:

true if the window may be placed in a document state; otherwise, false.

CanClose

Indicates whether the window may be closed.

public bool? CanClose { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanCloseResolved

A resolved value indicating whether the window may be closed.

public bool CanCloseResolved { get; protected set; }

Property Value

bool:

true if the window may be closed; otherwise, false.

CanDock

Indicates whether the window may be docked.

public bool? CanDock { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanDockResolved

A resolved value indicating whether the window may be docked.

public bool CanDockResolved { get; protected set; }

Property Value

bool:

true if the window may be docked; otherwise, false.

CanDragTab

Indicates whether the window's tab may be dragged to another location.

public bool? CanDragTab { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanDragTabResolved

A resolved value indicating whether the window's tab may be dragged to another location.

public bool CanDragTabResolved { get; protected set; }

Property Value

bool:

true if the window's tab may be dragged to another location; otherwise, false.

CanDragToLinkedDockSites

Indicates whether the window may be dragged to a linked dock site.

public bool? CanDragToLinkedDockSites { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanDragToLinkedDockSitesResolved

A resolved value indicating whether the window may be dragged to a linked dock site.

public bool CanDragToLinkedDockSitesResolved { get; protected set; }

Property Value

bool:

true if the window may be dragged to a linked dock site; otherwise, false.

CanFloat

Indicates whether the window may be moved into a separate top-level floating DockHost that is external to the DockSite hierarchy's primary DockHost.

public bool? CanFloat { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global DockSite setting.

CanFloatResolved

A resolved value indicating whether the window may be moved into a separate top-level floating DockHost that is external to the DockSite hierarchy's primary DockHost.

public bool CanFloatResolved { get; protected set; }

Property Value

bool

CanMoveToNewHorizontalContainer

Indicates whether the window can move to a new horizontal container within tabbed MDI.

public bool CanMoveToNewHorizontalContainer { get; }

Property Value

bool

Remarks

This property returns true when the window is currently within a tabbed MDI container that has more than one docking window.

CanMoveToNewVerticalContainer

Indicates whether the window can move to a new vertical container within tabbed MDI.

public bool CanMoveToNewVerticalContainer { get; }

Property Value

bool

Remarks

This property returns true when the window is currently within a tabbed MDI container that has more than one docking window.

CanMoveToNextContainer

Indicates whether the window can move to the next container within tabbed MDI.

public bool CanMoveToNextContainer { get; }

Property Value

bool

Remarks

This property returns true when the window is currently within a tabbed MDI container and there is another tabbed MDI container after it in the layout.

CanMoveToPreviousContainer

Indicates whether the window can move to the previous container within tabbed MDI.

public bool CanMoveToPreviousContainer { get; }

Property Value

bool

Remarks

This property returns true when the window is currently within a tabbed MDI container and there is another tabbed MDI container before it in the layout.

CanMoveToPrimaryMdiHost

Indicates whether the window can move to the primary MDI host, which is the one directly within the main DockSite hierarchy and not on a floating DockHost.

public bool CanMoveToPrimaryMdiHost { get; }

Property Value

bool

CanSerialize

Indicates whether the window's layout information may be serialized.

public bool CanSerialize { get; set; }

Property Value

bool

Remarks

When false, this property designates that the window should not be included in serialized layout information.

CanStandardMdiMaximize

Indicates whether the window may be maximized when hosted in a StandardMdiHost.

public bool? CanStandardMdiMaximize { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global StandardMdiHost setting.

CanStandardMdiMaximizeResolved

A resolved value indicating whether the window may be maximized when hosted in a StandardMdiHost.

public bool CanStandardMdiMaximizeResolved { get; }

Property Value

bool:

true if the window may be maximized when hosted in a StandardMdiHost; otherwise, false.

CanStandardMdiMinimize

Indicates whether the window may be minimized when hosted in a StandardMdiHost.

public bool? CanStandardMdiMinimize { get; set; }

Property Value

bool?

Remarks

If set to null, the resolved value will use the global StandardMdiHost setting.

CanStandardMdiMinimizeResolved

A resolved value indicating whether the window may be attached to another window, creating a tabbed grouping.

public bool CanStandardMdiMinimizeResolved { get; }

Property Value

bool

CloseAllInContainerCommand

The ICommand that can close all windows in the current container.

public ICommand CloseAllInContainerCommand { get; }

Property Value

ICommand

CloseCommand

The ICommand that can Close() the window.

public ICommand CloseCommand { get; }

Property Value

ICommand

CloseOthersCommand

The ICommand that can close all other windows in the current container.

public ICommand CloseOthersCommand { get; }

Property Value

ICommand

ContainerDockedSize

Indicates the Avalonia.Size of the docking window's container when it is in a docked state.

public Size ContainerDockedSize { get; set; }

Property Value

Size

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

ContainerMaxSize

Indicates the maximum Avalonia.Size of the docking window's container.

public Size ContainerMaxSize { get; set; }

Property Value

Size

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

ContainerMaxSizeResolved

The resolved maximum Avalonia.Size of the docking window's container.

public Size ContainerMaxSizeResolved { get; }

Property Value

Size

ContainerMinSize

Indicates the minimum Avalonia.Size of the docking window's container.

public Size ContainerMinSize { get; set; }

Property Value

Size

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

ContainerMinSizeResolved

The resolved minimum Avalonia.Size of the docking window's container.

public Size ContainerMinSizeResolved { get; }

Property Value

Size

Description

Indicates the description for the docking window, which may be used in Ctrl+Tab switching UI.

public string? Description { get; set; }

Property Value

string

DestroyCommand

The ICommand that can Destroy() the window.

public ICommand DestroyCommand { get; }

Property Value

ICommand

DockHost

The DockHost in which the window is currently located.

public DockHost? DockHost { get; }

Property Value

DockHost

Remarks

The primary dock host is the one directly within the DockSite hierarchy. Floating dock hosts are top-level containers that are external to the DockSite hierarchy's primary dock host.

DockSite

The DockSite that is managing this docking window.

public DockSite? DockSite { get; }

Property Value

DockSite

FloatAllInContainerCommand

The ICommand that can float all windows in the current container.

public ICommand FloatAllInContainerCommand { get; }

Property Value

ICommand

FloatCommand

The ICommand that can Float() the window.

public ICommand FloatCommand { get; }

Property Value

ICommand

Icon

The content for the icon specifying the 16x16 icon for the docking window, used in switcher UI and optionally on tabs.

[DependsOn("IconTemplate")]
public object? Icon { get; set; }

Property Value

object

IconTemplate

The template used to display the Icon.

public IDataTemplate? IconTemplate { get; set; }

Property Value

IDataTemplate

IsActive

Indicates whether the docking window is currently active, meaning the primary window that currently/last had focus.

public bool IsActive { get; set; }

Property Value

bool:

true if the docking window is currently active; otherwise, false.

Remarks

This property is set to true when the ActiveWindow is this window.

IsContainerForItem

Indicates whether this window was auto-created as a container for an item, which occurs when using the DocumentItemsSource or ToolItemsSource properties.

public bool IsContainerForItem { get; }

Property Value

bool:

true if this window was auto-created as a container for an item; otherwise, false.

IsFloating

Indicates whether the docking window is floating, meaning it is currently open in a floating DockHost, or is closed and was last open in a floating DockHost.

public bool IsFloating { get; set; }

Property Value

bool:

true if the docking window is floating; otherwise, false.

IsOpen

Indicates whether the docking window is currently open in the layout.

public bool IsOpen { get; set; }

Property Value

bool:

true if the docking window is currently open in the layout; otherwise, false.

IsSelected

Indicates whether the docking window is currently selected in its parent container.

public bool IsSelected { get; set; }

Property Value

bool:

true if the docking window is currently selected in its parent container; otherwise, false.

Remarks

The container is generally a TabbedMdiContainer, StandardMdiHost, or ToolWindowContainer.

LastActiveDateTime

Indicates the DateTime at which the window was last active, meaning the primary window that was focused.

public DateTime LastActiveDateTime { get; }

Property Value

DateTime

MoveToMdiCommand

The ICommand that can change the window into a document within an MDI area.

public ICommand MoveToMdiCommand { get; }

Property Value

ICommand

MoveToNewHorizontalContainerCommand

The ICommand that can move the window to a new horizontal container within tabbed MDI.

public ICommand MoveToNewHorizontalContainerCommand { get; }

Property Value

ICommand

MoveToNewVerticalContainerCommand

The ICommand that can move the window to a new vertical container within tabbed MDI.

public ICommand MoveToNewVerticalContainerCommand { get; }

Property Value

ICommand

MoveToNextContainerCommand

The ICommand that can move the window to the next container.

public ICommand MoveToNextContainerCommand { get; }

Property Value

ICommand

MoveToPreviousContainerCommand

The ICommand that can move the window to the previous container within tabbed MDI.

public ICommand MoveToPreviousContainerCommand { get; }

Property Value

ICommand

MoveToPrimaryMdiHostCommand

The ICommand that can move the window to the primary MDI host.

public ICommand MoveToPrimaryMdiHostCommand { get; }

Property Value

ICommand

OpenCommand

The ICommand that can Open() the window.

public ICommand OpenCommand { get; }

Property Value

ICommand

ParentContainer

The DockingWindowContainerBase that currently contains the window.

public DockingWindowContainerBase? ParentContainer { get; }

Property Value

DockingWindowContainerBase

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

SerializationId

The unique ID to use when matching up windows with serialized layout data.

public string? SerializationId { get; set; }

Property Value

string

Remarks

When deserializing a saved layout, the layout information has to be matched up with related windows, which is done via this property. Each window needs to have a unique serialization ID, specified by this property. When this property is null, the window's Name property will be used instead. While the Name property must conform to standard .NET identifier syntax, this property can use any characters in its value.

SetTabbedMdiLayoutKindCommand

The ICommand that can set the TabbedMdiLayoutKind property to the TabLayoutKind value specified in the command parameter.

public ICommand SetTabbedMdiLayoutKindCommand { get; }

Property Value

ICommand

SizeToContentModes

A SizeToContentModes that indicates when to try to size-to-content.

public SizeToContentModes SizeToContentModes { get; set; }

Property Value

SizeToContentModes:

The default value is None.

StandardMdiBounds

The bounds of this docking window when in standard MDI 'restored' state.

public Rect StandardMdiBounds { get; set; }

Property Value

Rect

StandardMdiTitleBarContextContentTemplate

The Avalonia.Controls.Templates.IDataTemplate containing contextual content that should be rendered in a standard MDI window's title bar for this window.

public IDataTemplate? StandardMdiTitleBarContextContentTemplate { get; set; }

Property Value

IDataTemplate:

The Avalonia.Controls.Templates.IDataTemplate containing contextual content that should be rendered in a standard MDI window's title bar for this window.

StandardMdiWindowState

The Avalonia.Controls.WindowState of this docking window when in standard MDI.

public WindowState StandardMdiWindowState { get; set; }

Property Value

WindowState

State

Gets or sets the DockingWindowState that specifies the current state of the window.

public DockingWindowState State { get; set; }

Property Value

DockingWindowState

TabFlashColor

The flash color to use if tab flashing is enabled.

public Color TabFlashColor { get; set; }

Property Value

Color:

The default value is #80FFA000.

Remarks

Tab flashing can be enabled via the TabFlashMode property.

TabFlashMode

The flash mode for the tab.

public TabFlashMode TabFlashMode { get; set; }

Property Value

TabFlashMode

Remarks

The tab flash color can be set via the TabFlashColor property.

TabText

The optional text to only display on tabs.

public string? TabText { get; set; }

Property Value

string

Remarks

If this text is not specified, the Title will display on tabs.

TabTextResolved

Gets the resolved text to only display on tabs.

public string? TabTextResolved { get; }

Property Value

string

Remarks

The resolved value uses TabText if non-null, falling back to Title.

TabTintColor

The color used to tint the tab background and border brushes.

public Color TabTintColor { get; set; }

Property Value

Color

TabToolTip

The tooltip content to use for tabs that represent the window.

public object? TabToolTip { get; set; }

Property Value

object

TabbedMdiLayoutKind

The TabLayoutKind that indicates how the tab will be positioned (normal, pinned, or preview).

public TabLayoutKind TabbedMdiLayoutKind { get; set; }

Property Value

TabLayoutKind

TabbedMdiTabContextContentTemplate

The Avalonia.Controls.Templates.IDataTemplate to use for displaying contextual content in a tabbed MDI tab.

public IDataTemplate? TabbedMdiTabContextContentTemplate { get; set; }

Property Value

IDataTemplate

Title

The title for the docking window, which appears in several places throughout the UI.

public string? Title { get; set; }

Property Value

string

UniqueId

The Guid that uniquely identifies the control.

public Guid UniqueId { get; }

Property Value

Guid

Remarks

A new Guid value is assigned to this property every time the application is run. Use the SerializationId property to designate an ID that uniquely identifies the window for layout deserialization purposes.

WindowGroupName

An optional name that specifies a group of windows that have an affinity.

public string? WindowGroupName { get; set; }

Property Value

string

Remarks

Say that there are three windows that should generally be attached together. All of them should be assigned the same group name (e.g. Bottom). When a window is first opened and no previous location is found for it, it will search for other windows that are already open in the same state and have the same group name. If any are found, it will default to attaching to the most recently activated one.

Methods

Activate(bool)

Activates the window by opening it (if closed), ensuring that it is brought to front, and optionally focusing it.

public void Activate(bool focus = true)
Parameter Type Description
focus bool

Whether to focus the window as well.

Close()

Closes the window, removing it from the layout.

public bool Close()

Returns

bool:

true if the docking window was closed successfully; otherwise, false.

CloseAllInContainer(bool)

Closes all windows in the same parent container, removing them from the layout.

public bool CloseAllInContainer(bool onlyCloseable = true)
Parameter Type Description
onlyCloseable bool

Only close windows whose CanCloseResolved property is true. The default value is true.

Returns

bool:

true if the docking windows were closed successfully; otherwise, false.

CloseOthers(bool)

Closes all other windows in the same parent container, removing them from the layout.

public bool CloseOthers(bool onlyCloseable = true)
Parameter Type Description
onlyCloseable bool

Only close windows whose CanCloseResolved property is true. The default value is true.

Returns

bool:

true if the other docking windows were closed successfully; otherwise, false.

Destroy()

Ensures the window is closed (removed from the layout) and also unregisters it from the DockSite.

public void Destroy()

DragMove(PointerPressedEventArgs)

Programmatically starts a drag/move.

public void DragMove(PointerPressedEventArgs sourceEventArgs)
Parameter Type Description
sourceEventArgs PointerPressedEventArgs

The source Avalonia.Input.PointerPressedEventArgs, which can be used to capture the pointer.

Remarks

The primary button of the pointer in the event arguments must be pressed down when calling this method. The pointer will be captured.

Float()

Floats the window to a default location with its current size.

public void Float()

Float(Point)

Floats the window to the specified location with its current size.

public void Float(Point location)
Parameter Type Description
location Point

A Avalonia.Point specifying the target location of the floating dock host.

When UseHostedFloatingWindows is true, the location is expressed relative to the containing control; otherwise, the value is the location in screen coordinates.

Float(Size)

Floats the window to a default location with the specified size.

public void Float(Size size)
Parameter Type Description
size Size

A Avalonia.Size specifying the target size of the floating dock host.

Float(Point?, Size?)

Floats the window to the specified optional location and size.

public abstract void Float(Point? location, Size? size)
Parameter Type Description
location Point?

An optional Avalonia.Point specifying the target location of the floating dock host.

When UseHostedFloatingWindows is true, the location is expressed relative to the containing control; otherwise, the value is the location in screen coordinates.

size Size?

An optional Avalonia.Size specifying the target size of the floating dock host.

Remarks

When location is not specified, it will float to a default location. When size is not specified, it will float with its current size.

FloatAllInContainer()

Floats all windows in the same parent container.

public void FloatAllInContainer()

MoveToFirst()

Moves the DockingWindow to be the first item in the current parent container.

public void MoveToFirst()

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

MoveToIndex(int)

Moves the DockingWindow to the specified location in the current parent container.

public void MoveToIndex(int index)
Parameter Type Description
index int

The index where the window should be moved.

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

MoveToLast()

Moves the DockingWindow to be the last item in the current parent container.

public void MoveToLast()

Remarks

The container is generally a TabbedMdiContainer or ToolWindowContainer.

MoveToLinkedDockSite(DockSite)

Moves this DockingWindow to the specified linked dock site.

public void MoveToLinkedDockSite(DockSite targetDockSite)
Parameter Type Description
targetDockSite DockSite

The dock site where the window should be moved.

MoveToMdi()

Changes the DockingWindow into a document within an MDI area.

public void MoveToMdi()

Remarks

Using this method places the DockingWindow in a DocumentState.

MoveToMdi(DockHost?)

Changes the DockingWindow into a document within a specific dockHost's MDI area.

public void MoveToMdi(DockHost? dockHost)
Parameter Type Description
dockHost DockHost

The DockHost that contains an MDI area in which to move the window.

Remarks

Using this method places the DockingWindow in a DocumentState.

MoveToNewHorizontalContainer()

Moves the window to a new horizontal container within tabbed MDI.

public bool MoveToNewHorizontalContainer()

Returns

bool:

true if the window was moved to a new horizontal container; otherwise, false.

MoveToNewVerticalContainer()

Moves the window to a new vertical container within tabbed MDI.

public bool MoveToNewVerticalContainer()

Returns

bool:

true if the window was moved to a new vertical container; otherwise, false.

MoveToNextContainer()

Moves the window to the next container (i.e. the one that appears after it in the layout) within tabbed MDI.

public bool MoveToNextContainer()

Returns

bool:

true if the window was moved to the next container; otherwise, false.

MoveToPreviousContainer()

Moves the window to the previous container (i.e. the one that appears before it in the layout) within tabbed MDI.

public bool MoveToPreviousContainer()

Returns

bool:

true if the window was moved to the previous container; otherwise, false.

OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)

Called when the styled element is added to a rooted logical tree.

protected override void OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs e)
Parameter Type Description
e LogicalTreeAttachmentEventArgs

The event args.

OnDefaultLocationRequested(DockingWindowDefaultLocationEventArgs)

Called when a DockingWindow's default location is requested.

protected virtual void OnDefaultLocationRequested(DockingWindowDefaultLocationEventArgs e)
Parameter Type Description
e DockingWindowDefaultLocationEventArgs

The DockingWindowDefaultLocationEventArgs that contains the event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnDockSiteChanged(DockSite?, DockSite?)

Occurs when the value of the DockSite property has changed.

protected virtual void OnDockSiteChanged(DockSite? oldValue, DockSite? newValue)
Parameter Type Description
oldValue DockSite

The old value.

newValue DockSite

The new value.

OnIsSelectedChanged()

Occurs when the value of the IsSelected property changes.

protected virtual void OnIsSelectedChanged()

OnPointerPressed(PointerPressedEventArgs)

Called before the Avalonia.Input.InputElement.PointerPressed event occurs.

protected override void OnPointerPressed(PointerPressedEventArgs e)
Parameter Type Description
e PointerPressedEventArgs

The event args.

OnStateChanged(DockingWindowState, DockingWindowState)

Occurs when the value of the State property has changed.

protected virtual void OnStateChanged(DockingWindowState oldValue, DockingWindowState newValue)
Parameter Type Description
oldValue DockingWindowState

The old value.

newValue DockingWindowState

The new value.

Open()

Opens the window, inserting it into the layout.

public void Open()

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

UpdateCanAttachResolved()

Updates the CanAttachResolved value.

protected abstract void UpdateCanAttachResolved()

UpdateCanBecomeDocumentResolved()

Updates the CanBecomeDocumentResolved value.

protected virtual void UpdateCanBecomeDocumentResolved()

UpdateCanCloseResolved()

Updates the CanCloseResolved value.

protected abstract void UpdateCanCloseResolved()

UpdateCanDockResolved()

Updates the CanDockResolved value.

protected abstract void UpdateCanDockResolved()

UpdateCanDragTabResolved()

Updates the CanDragTabResolved value.

protected abstract void UpdateCanDragTabResolved()

UpdateCanDragToLinkedDockSitesResolved()

protected abstract void UpdateCanDragToLinkedDockSitesResolved()

UpdateCanFloatResolved()

Updates the CanFloatResolved value.

protected abstract void UpdateCanFloatResolved()

UpdateCommands()

Updates the enabled states of the commands.

protected virtual void UpdateCommands()

Events

DefaultLocationRequested

Raised when a DockingWindow's default location is requested.

public event EventHandler<DockingWindowDefaultLocationEventArgs>? DefaultLocationRequested

Event Type

EventHandler<DockingWindowDefaultLocationEventArgs>

Remarks

The handler should examine the event arguments and set the Target and/or Side properties as appropriate.

Fields

CanAttachProperty

Defines the CanAttach property.

public static readonly StyledProperty<bool?> CanAttachProperty

CanAttachResolvedProperty

Defines the CanAttachResolved property.

public static readonly StyledProperty<bool> CanAttachResolvedProperty

CanBecomeDocumentResolvedProperty

Defines the CanBecomeDocumentResolved property.

public static readonly StyledProperty<bool> CanBecomeDocumentResolvedProperty

CanCloseProperty

Defines the CanClose property.

public static readonly StyledProperty<bool?> CanCloseProperty

CanCloseResolvedProperty

Defines the CanCloseResolved property.

public static readonly StyledProperty<bool> CanCloseResolvedProperty

CanDockProperty

Defines the CanDock property.

public static readonly StyledProperty<bool?> CanDockProperty

CanDockResolvedProperty

Defines the CanDockResolved property.

public static readonly StyledProperty<bool> CanDockResolvedProperty

CanDragTabProperty

Defines the CanDragTab property.

public static readonly StyledProperty<bool?> CanDragTabProperty

CanDragTabResolvedProperty

Defines the CanDragTabResolved property.

public static readonly StyledProperty<bool> CanDragTabResolvedProperty

CanDragToLinkedDockSitesProperty

Defines the CanDragToLinkedDockSites property.

public static readonly StyledProperty<bool?> CanDragToLinkedDockSitesProperty

CanDragToLinkedDockSitesResolvedProperty

Defines the CanDragToLinkedDockSitesResolved property.

public static readonly StyledProperty<bool> CanDragToLinkedDockSitesResolvedProperty

CanFloatProperty

Defines the CanFloat property.

public static readonly StyledProperty<bool?> CanFloatProperty

CanFloatResolvedProperty

Defines the CanFloatResolved property.

public static readonly StyledProperty<bool> CanFloatResolvedProperty

CanSerializeProperty

Defines the CanSerialize property.

public static readonly StyledProperty<bool> CanSerializeProperty

CanStandardMdiMaximizeProperty

Defines the CanStandardMdiMaximize property.

public static readonly StyledProperty<bool?> CanStandardMdiMaximizeProperty

CanStandardMdiMaximizeResolvedProperty

Defines the CanStandardMdiMaximizeResolved property.

public static readonly StyledProperty<bool> CanStandardMdiMaximizeResolvedProperty

CanStandardMdiMinimizeProperty

Defines the CanStandardMdiMinimize property.

public static readonly StyledProperty<bool?> CanStandardMdiMinimizeProperty

CanStandardMdiMinimizeResolvedProperty

Defines the CanStandardMdiMinimizeResolved property.

public static readonly StyledProperty<bool> CanStandardMdiMinimizeResolvedProperty

ContainerDockedSizeProperty

Defines the ContainerDockedSize property.

public static readonly StyledProperty<Size> ContainerDockedSizeProperty

ContainerMaxSizeProperty

Defines the ContainerMaxSize property.

public static readonly StyledProperty<Size> ContainerMaxSizeProperty

ContainerMinSizeProperty

Defines the ContainerMinSize property.

public static readonly StyledProperty<Size> ContainerMinSizeProperty

DefaultLocationRequestedEvent

Defines the DefaultLocationRequested event.

public static readonly RoutedEvent<DockingWindowDefaultLocationEventArgs> DefaultLocationRequestedEvent

DescriptionProperty

Defines the Description property.

public static readonly StyledProperty<string?> DescriptionProperty

DockSiteProperty

Defines the DockSite property.

public static readonly DirectProperty<DockingWindow, DockSite?> DockSiteProperty

IconProperty

Defines the Icon property.

public static readonly StyledProperty<object?> IconProperty

IconTemplateProperty

Defines the IconTemplate property.

public static readonly StyledProperty<IDataTemplate?> IconTemplateProperty

IsActiveProperty

Defines the IsActive property.

public static readonly StyledProperty<bool> IsActiveProperty

IsFloatingProperty

Defines the IsFloating property.

public static readonly StyledProperty<bool> IsFloatingProperty

IsOpenProperty

Defines the IsOpen property.

public static readonly StyledProperty<bool> IsOpenProperty

IsSelectedProperty

Defines the IsSelected property.

public static readonly StyledProperty<bool> IsSelectedProperty

LastActiveDateTimeProperty

Defines the LastActiveDateTime property.

public static readonly StyledProperty<DateTime> LastActiveDateTimeProperty

SerializationIdProperty

Defines the SerializationId property.

public static readonly StyledProperty<string?> SerializationIdProperty

SizeToContentModesProperty

Defines the SizeToContentModes property.

public static readonly StyledProperty<SizeToContentModes> SizeToContentModesProperty

StandardMdiBoundsProperty

Defines the StandardMdiBounds property.

public static readonly StyledProperty<Rect> StandardMdiBoundsProperty

StandardMdiTitleBarContextContentTemplateProperty

public static readonly StyledProperty<IDataTemplate?> StandardMdiTitleBarContextContentTemplateProperty

StandardMdiWindowStateProperty

Defines the StandardMdiWindowState property.

public static readonly StyledProperty<WindowState> StandardMdiWindowStateProperty

StateProperty

Defines the State property.

public static readonly StyledProperty<DockingWindowState> StateProperty

TabFlashColorProperty

Defines the TabFlashColor property.

public static readonly StyledProperty<Color> TabFlashColorProperty

TabFlashModeProperty

Defines the TabFlashMode property.

public static readonly StyledProperty<TabFlashMode> TabFlashModeProperty

TabTextProperty

Defines the TabText property.

public static readonly StyledProperty<string?> TabTextProperty

TabTextResolvedProperty

Defines the TabTextResolved property.

public static readonly StyledProperty<string?> TabTextResolvedProperty

TabTintColorProperty

Defines the TabTintColor property.

public static readonly StyledProperty<Color> TabTintColorProperty

TabToolTipProperty

Defines the TabToolTip property.

public static readonly StyledProperty<object?> TabToolTipProperty

TabbedMdiLayoutKindProperty

Defines the TabbedMdiLayoutKind property.

public static readonly StyledProperty<TabLayoutKind> TabbedMdiLayoutKindProperty

TabbedMdiTabContextContentTemplateProperty

Defines the TabbedMdiTabContextContentTemplate property.

public static readonly StyledProperty<IDataTemplate?> TabbedMdiTabContextContentTemplateProperty

TitleProperty

Defines the Title property.

public static readonly StyledProperty<string?> TitleProperty

UniqueIdProperty

Defines the UniqueId property.

public static readonly StyledProperty<Guid> UniqueIdProperty

WindowGroupNameProperty

Defines the WindowGroupName property.

public static readonly StyledProperty<string?> WindowGroupNameProperty

Inherited Members

  • ContentControl.ContentProperty
  • ContentControl.ContentTemplateProperty
  • ContentControl.HorizontalContentAlignmentProperty
  • ContentControl.VerticalContentAlignmentProperty
  • ContentControl.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
  • ContentControl.RegisterContentPresenter(ContentPresenter)
  • ContentControl.Content
  • ContentControl.ContentTemplate
  • ContentControl.Presenter
  • ContentControl.HorizontalContentAlignment
  • ContentControl.VerticalContentAlignment
  • TemplatedControl.BackgroundProperty
  • TemplatedControl.BackgroundSizingProperty
  • TemplatedControl.BorderBrushProperty
  • TemplatedControl.BorderThicknessProperty
  • TemplatedControl.CornerRadiusProperty
  • TemplatedControl.FontFamilyProperty
  • TemplatedControl.FontFeaturesProperty
  • TemplatedControl.FontSizeProperty
  • TemplatedControl.FontStyleProperty
  • TemplatedControl.FontWeightProperty
  • TemplatedControl.FontStretchProperty
  • TemplatedControl.ForegroundProperty
  • TemplatedControl.PaddingProperty
  • TemplatedControl.TemplateProperty
  • TemplatedControl.IsTemplateFocusTargetProperty
  • TemplatedControl.TemplateAppliedEvent
  • TemplatedControl.GetIsTemplateFocusTarget(Control)
  • TemplatedControl.SetIsTemplateFocusTarget(Control, bool)
  • TemplatedControl.ApplyTemplate()
  • TemplatedControl.GetTemplateFocusTarget()
  • TemplatedControl.OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
  • TemplatedControl.OnApplyTemplate(TemplateAppliedEventArgs)
  • TemplatedControl.OnTemplateChanged(AvaloniaPropertyChangedEventArgs)
  • TemplatedControl.Background
  • TemplatedControl.BackgroundSizing
  • TemplatedControl.BorderBrush
  • TemplatedControl.BorderThickness
  • TemplatedControl.CornerRadius
  • TemplatedControl.FontFamily
  • TemplatedControl.FontFeatures
  • TemplatedControl.FontSize
  • TemplatedControl.FontStyle
  • TemplatedControl.FontWeight
  • TemplatedControl.FontStretch
  • TemplatedControl.Foreground
  • TemplatedControl.Padding
  • TemplatedControl.Template
  • TemplatedControl.TemplateApplied
  • Control.FocusAdornerProperty
  • Control.TagProperty
  • Control.ContextMenuProperty
  • Control.ContextFlyoutProperty
  • Control.RequestBringIntoViewEvent
  • Control.ContextRequestedEvent
  • Control.LoadedEvent
  • Control.UnloadedEvent
  • Control.SizeChangedEvent
  • Control.OnLoaded(RoutedEventArgs)
  • Control.OnUnloaded(RoutedEventArgs)
  • Control.OnSizeChanged(SizeChangedEventArgs)
  • Control.OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs)
  • Control.OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs)
  • Control.OnGotFocus(GotFocusEventArgs)
  • Control.OnLostFocus(RoutedEventArgs)
  • Control.OnCreateAutomationPeer()
  • Control.OnPointerReleased(PointerReleasedEventArgs)
  • Control.OnKeyUp(KeyEventArgs)
  • Control.FocusAdorner
  • Control.DataTemplates
  • Control.ContextMenu
  • Control.ContextFlyout
  • Control.IsLoaded
  • Control.Tag
  • Control.ContextRequested
  • Control.Loaded
  • Control.Unloaded
  • Control.SizeChanged
  • InputElement.FocusableProperty
  • InputElement.IsEnabledProperty
  • InputElement.IsEffectivelyEnabledProperty
  • InputElement.CursorProperty
  • InputElement.IsKeyboardFocusWithinProperty
  • InputElement.IsFocusedProperty
  • InputElement.IsHitTestVisibleProperty
  • InputElement.IsPointerOverProperty
  • InputElement.IsTabStopProperty
  • InputElement.GotFocusEvent
  • InputElement.LostFocusEvent
  • InputElement.KeyDownEvent
  • InputElement.KeyUpEvent
  • InputElement.TabIndexProperty
  • InputElement.TextInputEvent
  • InputElement.TextInputMethodClientRequestedEvent
  • InputElement.PointerEnteredEvent
  • InputElement.PointerExitedEvent
  • InputElement.PointerMovedEvent
  • InputElement.PointerPressedEvent
  • InputElement.PointerReleasedEvent
  • InputElement.PointerCaptureLostEvent
  • InputElement.PointerWheelChangedEvent
  • InputElement.TappedEvent
  • InputElement.HoldingEvent
  • InputElement.DoubleTappedEvent
  • InputElement.Focus(NavigationMethod, KeyModifiers)
  • InputElement.OnAccessKey(RoutedEventArgs)
  • InputElement.OnKeyDown(KeyEventArgs)
  • InputElement.OnTextInput(TextInputEventArgs)
  • InputElement.OnPointerEntered(PointerEventArgs)
  • InputElement.OnPointerExited(PointerEventArgs)
  • InputElement.OnPointerMoved(PointerEventArgs)
  • InputElement.OnPointerCaptureLost(PointerCaptureLostEventArgs)
  • InputElement.OnPointerWheelChanged(PointerWheelEventArgs)
  • InputElement.UpdateIsEffectivelyEnabled()
  • InputElement.Focusable
  • InputElement.IsEnabled
  • InputElement.Cursor
  • InputElement.IsKeyboardFocusWithin
  • InputElement.IsFocused
  • InputElement.IsHitTestVisible
  • InputElement.IsPointerOver
  • InputElement.IsTabStop
  • InputElement.IsEffectivelyEnabled
  • InputElement.TabIndex
  • InputElement.KeyBindings
  • InputElement.IsEnabledCore
  • InputElement.GestureRecognizers
  • InputElement.GotFocus
  • InputElement.LostFocus
  • InputElement.KeyDown
  • InputElement.KeyUp
  • InputElement.TextInput
  • InputElement.TextInputMethodClientRequested
  • InputElement.PointerEntered
  • InputElement.PointerExited
  • InputElement.PointerMoved
  • InputElement.PointerPressed
  • InputElement.PointerReleased
  • InputElement.PointerCaptureLost
  • InputElement.PointerWheelChanged
  • InputElement.Tapped
  • InputElement.Holding
  • InputElement.DoubleTapped
  • Interactive.AddHandler(RoutedEvent, Delegate, RoutingStrategies, bool)
  • Interactive.AddHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>, RoutingStrategies, bool)
  • Interactive.RemoveHandler(RoutedEvent, Delegate)
  • Interactive.RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>)
  • Interactive.RaiseEvent(RoutedEventArgs)
  • Interactive.BuildEventRoute(RoutedEvent)
  • Layoutable.DesiredSizeProperty
  • Layoutable.WidthProperty
  • Layoutable.HeightProperty
  • Layoutable.MinWidthProperty
  • Layoutable.MaxWidthProperty
  • Layoutable.MinHeightProperty
  • Layoutable.MaxHeightProperty
  • Layoutable.MarginProperty
  • Layoutable.HorizontalAlignmentProperty
  • Layoutable.VerticalAlignmentProperty
  • Layoutable.UseLayoutRoundingProperty
  • Layoutable.UpdateLayout()
  • Layoutable.Measure(Size)
  • Layoutable.Arrange(Rect)
  • Layoutable.InvalidateMeasure()
  • Layoutable.InvalidateArrange()
  • Layoutable.AffectsMeasure<T>(params AvaloniaProperty[])
  • Layoutable.AffectsArrange<T>(params AvaloniaProperty[])
  • Layoutable.MeasureCore(Size)
  • Layoutable.MeasureOverride(Size)
  • Layoutable.ArrangeCore(Rect)
  • Layoutable.ArrangeOverride(Size)
  • Layoutable.OnMeasureInvalidated()
  • Layoutable.OnVisualParentChanged(Visual, Visual)
  • Layoutable.Width
  • Layoutable.Height
  • Layoutable.MinWidth
  • Layoutable.MaxWidth
  • Layoutable.MinHeight
  • Layoutable.MaxHeight
  • Layoutable.Margin
  • Layoutable.HorizontalAlignment
  • Layoutable.VerticalAlignment
  • Layoutable.DesiredSize
  • Layoutable.IsMeasureValid
  • Layoutable.IsArrangeValid
  • Layoutable.UseLayoutRounding
  • Layoutable.EffectiveViewportChanged
  • Layoutable.LayoutUpdated
  • Visual.BoundsProperty
  • Visual.ClipToBoundsProperty
  • Visual.ClipProperty
  • Visual.IsVisibleProperty
  • Visual.OpacityProperty
  • Visual.OpacityMaskProperty
  • Visual.EffectProperty
  • Visual.HasMirrorTransformProperty
  • Visual.RenderTransformProperty
  • Visual.RenderTransformOriginProperty
  • Visual.FlowDirectionProperty
  • Visual.VisualParentProperty
  • Visual.ZIndexProperty
  • Visual.GetFlowDirection(Visual)
  • Visual.SetFlowDirection(Visual, FlowDirection)
  • Visual.InvalidateVisual()
  • Visual.Render(DrawingContext)
  • Visual.AffectsRender<T>(params AvaloniaProperty[])
  • Visual.LogicalChildrenCollectionChanged(object, NotifyCollectionChangedEventArgs)
  • Visual.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)
  • Visual.OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)
  • Visual.InvalidateMirrorTransform()
  • Visual.Bounds
  • Visual.ClipToBounds
  • Visual.Clip
  • Visual.IsEffectivelyVisible
  • Visual.IsVisible
  • Visual.Opacity
  • Visual.OpacityMask
  • Visual.Effect
  • Visual.HasMirrorTransform
  • Visual.RenderTransform
  • Visual.RenderTransformOrigin
  • Visual.FlowDirection
  • Visual.ZIndex
  • Visual.VisualChildren
  • Visual.VisualRoot
  • Visual.BypassFlowDirectionPolicies
  • Visual.AttachedToVisualTree
  • Visual.DetachedFromVisualTree
  • StyledElement.DataContextProperty
  • StyledElement.NameProperty
  • StyledElement.ParentProperty
  • StyledElement.TemplatedParentProperty
  • StyledElement.ThemeProperty
  • StyledElement.BeginInit()
  • StyledElement.EndInit()
  • StyledElement.ApplyStyling()
  • StyledElement.InitializeIfNeeded()
  • StyledElement.TryGetResource(object, ThemeVariant, out object)
  • StyledElement.OnDataContextChanged(EventArgs)
  • StyledElement.OnDataContextBeginUpdate()
  • StyledElement.OnDataContextEndUpdate()
  • StyledElement.OnInitialized()
  • StyledElement.Name
  • StyledElement.Classes
  • StyledElement.DataContext
  • StyledElement.IsInitialized
  • StyledElement.Styles
  • StyledElement.StyleKey
  • StyledElement.Resources
  • StyledElement.TemplatedParent
  • StyledElement.Theme
  • StyledElement.LogicalChildren
  • StyledElement.PseudoClasses
  • StyledElement.StyleKeyOverride
  • StyledElement.Parent
  • StyledElement.ActualThemeVariant
  • StyledElement.AttachedToLogicalTree
  • StyledElement.DetachedFromLogicalTree
  • StyledElement.DataContextChanged
  • StyledElement.Initialized
  • StyledElement.ResourcesChanged
  • StyledElement.ActualThemeVariantChanged
  • Animatable.TransitionsProperty
  • Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
  • Animatable.Transitions
  • AvaloniaObject.CheckAccess()
  • AvaloniaObject.VerifyAccess()
  • AvaloniaObject.ClearValue(AvaloniaProperty)
  • AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)
  • AvaloniaObject.ClearValue<T>(StyledProperty<T>)
  • AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)
  • AvaloniaObject.Equals(object)
  • AvaloniaObject.GetHashCode()
  • AvaloniaObject.GetValue(AvaloniaProperty)
  • AvaloniaObject.GetValue<T>(StyledProperty<T>)
  • AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)
  • AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)
  • AvaloniaObject.IsAnimating(AvaloniaProperty)
  • AvaloniaObject.IsSet(AvaloniaProperty)
  • AvaloniaObject.SetValue(AvaloniaProperty, object, BindingPriority)
  • AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
  • AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
  • AvaloniaObject.SetCurrentValue(AvaloniaProperty, object)
  • AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)
  • AvaloniaObject.Bind(AvaloniaProperty, IBinding)
  • AvaloniaObject.Bind(AvaloniaProperty, IObservable<object>, BindingPriority)
  • AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<object>, BindingPriority)
  • AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<T>, BindingPriority)
  • AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<BindingValue<T>>, BindingPriority)
  • AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<object>)
  • AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<T>)
  • AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<BindingValue<T>>)
  • AvaloniaObject.CoerceValue(AvaloniaProperty)
  • AvaloniaObject.UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception)
  • AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)
  • AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)
  • AvaloniaObject.InheritanceParent
  • AvaloniaObject.this[AvaloniaProperty]
  • AvaloniaObject.this[IndexerDescriptor]
  • AvaloniaObject.PropertyChanged
  • object.GetType()
  • object.MemberwiseClone()
  • object.Equals(object, object)
  • object.ReferenceEquals(object, object)

Extension Methods