Click or drag to resize

JsonConfIntegerEditorAttribute Class

Controls how an integer-compatible item will be displayed and edited in the JSON Configuration GUI.
Inheritance Hierarchy

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class JsonConfIntegerEditorAttribute : JsonConfEditorAttribute

The JsonConfIntegerEditorAttribute type exposes the following members.

Constructors
  NameDescription
Public methodJsonConfIntegerEditorAttribute
Constructor.
Top
Properties
  NameDescription
Public propertyChildName
The generic name for the children of this type. If not specified, the un-namespaced child type editor name is used. Controls the default label for children (e.g. "{ChildName} [1]") and the add new button (e.g. "Add new {ChildName}").
(Inherited from JsonConfEditorAttribute.)
Public propertyChildTypeEditor
The name of the default/custom type editor that should be used for this value's children. If this value is set, and TypeEditor isn't, the "array" will be assumed as the TypeEditor.
(Inherited from JsonConfEditorAttribute.)
Public propertyClearOnCopy
When true, the value of this field is clear when creating a copying of the item in the editor.
(Inherited from JsonConfEditorAttribute.)
Public propertyCommentable
Indicates whether the item can be commented.
(Inherited from JsonConfEditorAttribute.)
Public propertyDefaultValue
The default value for this type/member. Only works for simple values.
(Inherited from JsonConfEditorAttribute.)
Public propertyDocReference Obsolete.
A short text for the member or type so users understand it's purpose, how/when to use it, etc... May be displayed as a tool tip or in other context specific places.
(Inherited from JsonConfEditorAttribute.)
Public propertyExtendsEditor
The name of the type editor that should be extended for this value.
(Inherited from JsonConfEditorAttribute.)
Public propertyForceChildLeafBehavior
If set to true, forces the child items of an array in the configurators navigation tree (not the grid) to be rendered as a leaf node, preventing their children from being shown in the tree. This option has no effect on an item that would already classify as a leaf.
(Inherited from JsonConfEditorAttribute.)
Public propertyForceLeafBehavior
If set to true, forces an item in the configurators navigation tree (not the grid) to be rendered as a leaf node, preventing the items children from being shown in the tree. This option has no effect on an item that would already classify as a leaf.
(Inherited from JsonConfEditorAttribute.)
Public propertyHelpText
A short text for the member or type so users understand it's purpose, how/when to use it, etc... May be displayed as a tool tip or in other context specific places.
(Inherited from JsonConfEditorAttribute.)
Public propertyHelpTextResourceId
Same as the help text but a localizable resource id instead of hard coded text. Both can be specified but the resource based text is used in the first place.
(Inherited from JsonConfEditorAttribute.)
Public propertyHidden
Used to prevent a value/key from appearing in the editor. If specified on an object (complex type), none of it's children will be visible.
(Inherited from JsonConfEditorAttribute.)
Public propertyHideWhen
Visibility condition. Via JSPath. When true, the value is hidden in the Editor. Example: HideWhen = ".SiblingProperty == 'Test' " HideWhen = ".SiblingProperty{.NestedProperty == 'Test'} "
(Inherited from JsonConfEditorAttribute.)
Public propertyIsRequired
Validation option. If this is set to true, and no value is specified, a validation message will be shown to the user.
(Inherited from JsonConfEditorAttribute.)
Public propertyLabel
The human readable name to show for this value. If not specified, the member or type name will be shown.
(Inherited from JsonConfEditorAttribute.)
Public propertyMax
Indicates the maximum value to allow in the editor. Defaults to int.MaxValue which passes undefined (no max) to the schema.
Public propertyMin
Indicates the minimum value to allow in the editor. Defaults to int.MinValue which passes undefined (no min) to the schema.
Public propertyNameMember
The member whose value can be used as a unique name for an instance of the type. Useful when displaying objects in a list (array).
(Inherited from JsonConfEditorAttribute.)
Public propertyOptions
Additional options to pass to the editor. Specified in json.
(Inherited from JsonConfEditorAttribute.)
Public propertyRegExMask
When provided, the regular expression mask will be enforced as a validation requirement.
(Inherited from JsonConfEditorAttribute.)
Public propertyResourceIdPrefix
Prefix that can be pre-pended to resource id strings in localizable string properties.
(Inherited from JsonConfEditorAttribute.)
Public propertyShowWhen
Visibility condition. Via JSPath. When true, the value is shown in the Editor. Example: ShowWhen = ".SiblingProperty == 'Test' " ShowWhen = ".SiblingProperty{.NestedProperty == 'Test'} "
(Inherited from JsonConfEditorAttribute.)
Public propertyStep Obsolete.
Indicates the amount by which a value is increased or decreased in the editor. (When clicking up and down arrows/icons.) Defaults to zero, meaning no step specified.
Public propertyTypeEditor
The name of the default/custom type editor that should be used for this value. If not specified the system will choose the editor based on the type, and may generate an editor dynamically.
(Inherited from JsonConfEditorAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyUseNonPublicMembers
(Inherited from JsonConfEditorAttribute.)
Public propertyUsesAdapter
Used in conjunction with an editor that is tagged as "IsAdapter = True". Members where the UsesAdapter = True / The items editor has IsAdapter = True are piped through the adapter for updates.
(Inherited from JsonConfEditorAttribute.)
Public propertyValueMember
If a simple value can be directly cast to this type, this is the member of the type that the value will be set to.
(Inherited from JsonConfEditorAttribute.)
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetOptions
Gets the custom options defined by this attribute.
(Overrides JsonConfEditorAttributeGetOptions.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasOptions
Determines if this attribute defines custom options.
(Overrides JsonConfEditorAttributeHasOptions.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also