HeaderPane
Main
Hide
Share Link
Print

SizeToContent Property, SftTaskDialogPage Class

Defines whether the dialog widens for its heading and text.

Class: SftTaskDialogPage
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET

Syntax

public bool SizeToContent { get; set; }
Public Property SizeToContent As Boolean

Value

True if the dialog widens so the heading and the text need fewer lines, up to two thirds of the screen's working area; it is never narrower than its standard width. The property cannot be changed while the page is shown.

The default value is False.

Comments

Defines whether the dialog widens for its heading and text.

See Also SftTaskDialogPage Class | Classes | SftStyle/NET 3.0