WpfDialogAssistant Constructor (Window, Boolean, Boolean)
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
window
Type: System.Windows.Windowthe window to style
autoMinSize
Type: System.Booleanif true MinSize will be calculated based on preferred size, SizeToContent will be switched to manual
autoScaleFont
Type: System.Booleanif true the window size will scale up based on the font size
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.