<< Click to Display Table of Contents >> NShape Reference
|
Maps model object property values to shape property values.
public class FormatModelMapping : ModelMappingBase |
The FormatModelMapping stores an input value as float, integer or string and converts it to the given format.
Name |
Description |
---|---|
CanGetFloat |
Indicates wether the mapped model object property can be converted to a float value. Returns always false. |
CanGetInteger |
Indicates wether the mapped model object property can be converted to an integer value. Returns always false. |
CanGetString |
Indicates wether the mapped model object property can be converted to a string value. Returns always true. |
CanGetStyle |
Indicates wether the mapped model object property can be converted to a style. Returns always false. |
CanSetFloat |
Indicates wether a float value can be converted to the mapped shape property. |
CanSetInteger |
Indicates wether an integer value can be converted to the mapped shape property. |
CanSetString |
Indicates wether a string value can be converted to the mapped shape property. |
EntityTypeName |
Implementation of the IEntity.EntityTypeName pseudo member. |
Format |
.NET format specifier to use. |
MappingType |
Indicates the type of the mapping. |
Name |
Description |
---|---|
Constructor |
Constructs a new FormatModelMapping instance. |
GetFloat |
Gets a float value converted from the mapped model object's property value. Throws a NotSupportedException. |
GetInteger |
Gets an integer value converted from the mapped model object's property value. Throws a NotSupportedException. |
GetPropertyDefinitions |
Implementation of the IEntity.GetPropertyDefinitions pseudo member. |
GetString |
Gets a string value converted from the mapped model object's property value. |
GetStyle |
Gets a style converted from the mapped model object's property value. Throws a NotSupportedException. |
LoadFields |
Implementation of IEntity.LoadFields. |
LoadInnerObjects |
Implementation of IEntity.LoadInnerObjects. |
RemoveValueRange |
Removes the given value range and its associated style. |
SaveFields |
Implementation of IEntity.SaveFields. |
SaveInnerObjects |
Implementation of IEntity.SaveInnerObjects. |
SetFloat |
Sets the float value to be converted to the mapped shape's property. |
SetInteger |
Sets the integer value to be converted to the mapped shape's property. |
SetString |
Sets the string value to be converted to the mapped shape's property. |
Namespace: Dataweb.NShape.Advanced
Assembly: Dataweb.NShape