MX-Frame Library Send comments on this topic.
NullText
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > Design > NullText

Glossary Item Box

Defines the text displayed when the control has null value assigned.

Remarks

Property specifies the string displayed when control has null value. Control has null value when no value is attached to the control or when null value is entered by the user. User can enter null value by clicking NullButton,

It is logical to change the string, representing null values, according to the meaning of entered or displayed null values. If null value retrieves no records from the data source, than the value of the property should be something like (None). If null value retrieves all records from the data source, than the value of the property should be something like (All).

Example (MxSpace)

To see the defined NullText property on a control (AdvancedText) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the advanced text control displaying last names and open Property Window. See the value (All) defined in NullText property.

To define NullText property

  1. In Solution Explorer open MxPart component (StockPart) which contains control (AdvancedText) for data binding.
  2. Select the desired control (AdvancedText – Last Name) on the canvas.
  3. Open Property Window.
  4. In section Design in NullText property select the desired value (All).

See Also

©2009 Metronik. All Rights Reserved.