Gets or sets the size of the dialog where the Sidebar is placed, if the Sidebar.IsPinned property is set to false. To resize the dialog according to its content, the property value must be set to null. The default value is null.

Syntax

public System.Windows.Size? DialogSize { get; set; }
Public Property DialogSize() As System.Nullable(Of System.Windows.Size)