Skip to content

181a21a1 8a68 a21c 90a4 a1fcca152ec1

Fernando Garcia edited this page May 8, 2018 · 1 revision

ContentModel Class

Additional header content

Defines as shown the content of a field.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(ContentModel)
    iTin.Export.Model.ContentModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class ContentModel : BaseModel<ContentModel>, 
	ICloneable

VB

<SerializableAttribute>
Public Class ContentModel
	Inherits BaseModel(Of ContentModel)
	Implements ICloneable

The ContentModel type exposes the following members.

Constructors

 

Name Description
Public method ContentModel Initializes a new instance of the ContentModel class.
  Back to Top

Properties

 

Name Description
Public propertyCode example Alignment Gets or sets content distribution.
Public propertyCode example AlternateColor Gets or sets alternative color preferred of content.
Public propertyCode example Color Gets or sets color preferred of content.
Public propertyCode example DataType Gets or sets content data type.
Public propertyStatic member Default Gets default content definition
Public property IsDefault Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.)
Public propertyCode example Pattern Gets or sets the fill pattern content.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
  Back to Top

Methods

 

Name Description
Public method Clone Clones this instance.
Public method Combine Combines this instance with reference parameter.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAlternateColor Gets a reference to the alternate Color structure preferred for this content.
Public method GetColor Gets a reference to the Color structure preferred for this content.
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

Belongs to: Style. For more information, please see StyleModel. IEE Object Element Usage

<Content>
  <Alignment/>
  <Number/> | <Currency/> | <Percentage/> | <Scientific/> | <Datetime/> | <Special/> | <Text/>
  <Properties/>
</Content>

Attributes  

Attribute Optional Description Default
AlternateColor Yes Alternative color preferred of content. The default is Transparent
Color Yes Preferred content color. The default is Transparent
  Elements  
Element Description
Alignment Reference to content distribution.
DataType Reference to content data type.
Pattern Reference to fill pattern.
Properties Reference to custom properties dictionary
  Compatibility table with native writers.  
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
  A <b>X</b> value indicates that the writer supports this element.

See Also

Reference

iTin.Export.Model Namespace
iTin.Export.Model.BaseModel()
System.ICloneable

Clone this wiki locally