Defines the appearance of null button in the control.
Remarks
Property specifies the state of the null button in a control. It depends on the state of the button what kind of actions will user be able to execute. When null button is clicked the null value is assigned to the control.
To learn more about button states see chapter Navigation Button States.
When null button is clicked the value of the control is null. In this case the control will send null value out whenever it is asked for it. If ValueMember property is defined, the value of the selected field will also be null.
It is possible to define how null value is represented in a control. To learn more about this see chapter that describes property NullText.
Example (MxSpace)
To see the defined NullButton 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 Default defined in NullButton property.
To define NullButton property
- In Solution Explorer open MxPart component (StockPart) which contains control (AdvancedText) for data binding.
- Select the desired control (AdvancedText – Last Name) on the canvas.
- Open Property Window.
- In section Design in NullButton property select the desired value (Default).