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

Glossary Item Box

Defines the name of the control or the component.

Remarks

Property specifies the name of the control. It is important to define a logical name for every component and control because control or component can be referenced anywhere in an application by the name specified in this property. This way it is uniquely represented and it is impossible to mix two objects.

The name of the control or component must be unique for a certain MxPart component.

Example (MxSpace)

To see the defined Name property on a control (Combo) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the combo control displaying articles and open Property Window. See the value ArticleCombo defined in Name property.

To define Name property

  1. In Solution Explorer open MxPart component (StockPart) which contains control (Combo) for data binding.
  2. Select the desired control (Combo – Article) on the canvas.
  3. Open Property Window.
  4. In section Design in Name property enter the desired value (ArticleCombo) which uniquely represents the combo control for the current MxPart component.
©2009 Metronik. All Rights Reserved.