NumberBox.Description Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets content that is shown below the control. The content should provide guidance about the input expected by the control.
public:
property Platform::Object ^ Description { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Description();
void Description(IInspectable value);
public object Description { get; set; }
var object = numberBox.description;
numberBox.description = object;
Public Property Description As Object
Property Value
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.
<NumberBox Header="Header" Width="160">
<NumberBox.Description>
<TextBlock Text="This is a long description for NumberBox."
TextWrapping="WrapWholeWords"/>
</NumberBox.Description>
</NumberBox>