WpfDialogAssistant Constructor (Window, Boolean, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

styles a WPF window according to the Visual Studio standards. remembers its size and position

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Sub New ( _
    window As Window, _
    autoMinSize As Boolean, _
    autoScaleFont As Boolean _
)
public WpfDialogAssistant(
    Window window,
    bool autoMinSize,
    bool autoScaleFont
)
public:
WpfDialogAssistant(
    Window^ window, 
    bool autoMinSize, 
    bool autoScaleFont
)
new : 
        window:Window * 
        autoMinSize:bool * 
        autoScaleFont:bool -> WpfDialogAssistant
public function WpfDialogAssistant(
    window : Window, 
    autoMinSize : boolean, 
    autoScaleFont : boolean
)

Parameters

  • autoMinSize
    Type: System.Boolean

    if true MinSize will be calculated based on preferred size, SizeToContent will be switched to manual

  • autoScaleFont
    Type: System.Boolean

    if true the window size will scale up based on the font size

.NET Framework Security

See Also

Reference

WpfDialogAssistant Class

WpfDialogAssistant Overload

Microsoft.TeamFoundation.Controls.WPF Namespace