ComponentOne Windows 7 Control Pack for WinForms
C1.Win.C1Win7Pack Namespace / C1TaskDialog Class / SizeToContent Property

In This Topic
    SizeToContent Property
    In This Topic
    Gets or sets whether the width of the task dialog is determined by the width of its content area.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(False)>
    <C1DescriptionAttribute("C1TaskDialog.SizeToContent", "Indicates that the width of the task dialog is determined by the width of its content area.")>
    Public Property SizeToContent As Boolean
    [DefaultValue(false)]
    [C1Description("C1TaskDialog.SizeToContent", "Indicates that the width of the task dialog is determined by the width of its content area.")]
    public bool SizeToContent {get; set;}
    See Also