C# Class ZForge.Controls.ExplorerBar.TaskItemInfo.TaskItemInfoSurrogate

Inheritance: ISerializable
Show file Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
FontDecoration FontStyle
LinkHot string
LinkNormal string
Margin Margin
Padding Padding
Version int

Public Methods

Method Description
Load ( TaskItemInfo taskItemInfo ) : void

Populates the TaskItemInfoSurrogate with data that is to be serialized from the specified TaskItemInfo

Save ( ) : TaskItemInfo

Returns a TaskItemInfo that contains the deserialized TaskItemInfoSurrogate data

TaskItemInfoSurrogate ( ) : System

Initializes a new instance of the TaskItemInfoSurrogate class with default settings

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
TaskItemInfoSurrogate ( SerializationInfo info, StreamingContext context ) : System

Method Details

Load() public method

Populates the TaskItemInfoSurrogate with data that is to be serialized from the specified TaskItemInfo
public Load ( TaskItemInfo taskItemInfo ) : void
taskItemInfo TaskItemInfo The TaskItemInfo that contains the data /// to be serialized
return void

Save() public method

Returns a TaskItemInfo that contains the deserialized TaskItemInfoSurrogate data
public Save ( ) : TaskItemInfo
return TaskItemInfo

TaskItemInfoSurrogate() public method

Initializes a new instance of the TaskItemInfoSurrogate class with default settings
public TaskItemInfoSurrogate ( ) : System
return System

Property Details

FontDecoration public property

See TaskItemInfo.FontDecoration. This member is not intended to be used directly from your code.
public FontStyle FontDecoration
return FontStyle

LinkHot public property

See TaskItemInfo.HotLinkColor. This member is not intended to be used directly from your code.
public string LinkHot
return string

LinkNormal public property

See TaskItemInfo.LinkColor. This member is not intended to be used directly from your code.
public string LinkNormal
return string

Margin public property

See TaskItemInfo.Margin. This member is not intended to be used directly from your code.
public Margin,ZForge.Controls.ExplorerBar Margin
return Margin

Padding public property

See TaskItemInfo.Padding. This member is not intended to be used directly from your code.
public Padding Padding
return Padding

Version public property

Version number of the surrogate. This member is not intended to be used directly from your code.
public int Version
return int