Click or drag to resize

ContentColumn Class

Represents one metadata of a content-type, becoming a PFField once installed in Packflow.
Represents one metadata of a content-type, becoming a PFField once installed in Packflow.
Inheritance Hierarchy

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public sealed class ContentColumn : ModelingObject_Extended, 
	IContentColumn, IModelColumnInfo, IModelInfo, IObjectNotes

The ContentColumn type exposes the following members.

Constructors
  NameDescription
Public methodContentColumn
Initializes a new instance of the ContentColumn class.
Top
Properties
  NameDescription
Public property_Settings
Gets or sets the list of settings. Use SettingsObject instead of this one.
Public propertyConfidentiality
Gets or sets a value indicating whether confidentiality is enabled. Currently not active.
Public propertyConfidentialityDisplayMode
Gets or sets a value indicating how a value should be displayed when marked as confidential in a view.
Public propertyDefinitionReadOnly
Gets or sets a value indicating whether this column definition cannot be modified by the designer.
Public propertyDescription
Gets or sets the description.
Public propertyDescriptionRes
Gets or sets the resource containing translations for the Description property.
Public propertyDisplayName
Gets or sets the display name.
Public propertyDisplayNameRes
Gets or sets the resource containing translations for the DisplayName property.
Public propertyForceLoadOnViews
Gets or sets a value indicating whether this column should always be loaded in views, even if not shown. This allows to customize MVC displays regardless of the view.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyHideLabel
Gets or sets a value indicating whether the label of this column's control should be hidden in the forms.
Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInheritFromParent
Gets or sets a value indicating whether this column should inherit its value from the parent object. Currently not active.
Public propertyInstanceGuid
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.)
Public propertyInstanceLanguage
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.)
Public propertyIsExtended
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.)
Public propertyIsSystemColumn
Gets a value indicating whether this instance is a system column.
Public propertyLogInSaveEvents
If the LogSaveEvents option is enabled on the content-type, enabling this option will enhance the message with the old and new value of this column.
Public propertyModel
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.)
Public propertyName
Gets the name of this object.
(Inherited from ModelingObject.)
Public propertyObjectNotes
Gets or sets design notes.
Public propertyParent
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyParentType
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyPermissions
Gets or sets the permissions, describing the behavior of the column in the workflow and in the UI.
Public propertyReadOnly
Gets or sets a value indicating whether this column's values are read-only. This means that the values are not editable in the UI, but can still be modified by code.
Public propertyRequired
Gets or sets a value indicating whether this ContentColumn is required.
Public propertyRolesInConfidentiality
Gets or sets the roles able to see values.
Public propertySettingsObject
Gets or sets the settings object.
Public propertySynchronized
Gets or sets a value indicating whether this column is synchronized with the model or not (though model items). Important : this value is used only if the content-type is not set to "No sync".
Public propertyType
Gets or sets the column type.
Top
Methods
  NameDescription
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodGetColumnDisplayName
Gets the column's display name.
Public methodGetColumnGuid
Gets the column's GUID.
Public methodGetColumnName
Gets the column's name.
Public methodGetColumnType
Gets the column's type.
Public methodGetContentTypeGuid
Gets the guid of the parent content-type of this column.
Public methodGetDisplayName
Gets the display name of this column.
Public methodGetFieldType
Gets the Packflow.Core.PFFieldType corresponding to the ContentColumnType.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetListItem(Boolean)
Gets a string containing the id and the name or display name of the column.
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodInit
Initializes name and display name with a default value.
Public methodSettingsSettingsType
Gets the settings object.
Public methodShouldSerializeObjectNotes
Indicates whether the ObjectNotes property should be generated during the serialization.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also