NumberBox.Description Property

Definition

Gets or sets content that is shown below the control. The content should provide guidance about the input expected by the control.

C#
public object Description { get; set; }

Property Value

Object

Content that is shown below the control. The default is null.

Remarks

The IsWrapEnabled property affects only the Header text; it doesn't cause Description text to wrap.

If you need to wrap Description text, you can use a TextBlock as the Description property value and set it to wrap, like this.

XAML
<NumberBox Header="Header" Width="160">
    <NumberBox.Description>
        <TextBlock Text="This is a long description for NumberBox."
                   TextWrapping="WrapWholeWords"/>
    </NumberBox.Description>
</NumberBox>

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also