C# Class ZForge.Controls.ExplorerBar.TaskItem.TaskItemSurrogate

Inheritance: ISerializable
Mostrar archivo Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Anchor AnchorStyles
BackColor string
CustomSettings TaskItemInfo.TaskItemInfoSurrogate
Dock DockStyle
Enabled bool
FontDecoration FontStyle
FontName string
FontSize float
Location Point
Name string
ShowFocusCues bool
Size System.Drawing.Size
Text string
UseGdiText bool
Version int
Visible bool

Public Methods

Method Description
Load ( TaskItem taskItem ) : void

Populates the TaskItemSurrogate with data that is to be serialized from the specified TaskItem

Save ( ) : TaskItem

Returns a TaskItem that contains the deserialized TaskItemSurrogate data

TaskItemSurrogate ( ) : System

Initializes a new instance of the TaskItemSurrogate class with default settings

Private Methods

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

Method Details

Load() public method

Populates the TaskItemSurrogate with data that is to be serialized from the specified TaskItem
public Load ( TaskItem taskItem ) : void
taskItem TaskItem The TaskItem that contains the data /// to be serialized
return void

Save() public method

Returns a TaskItem that contains the deserialized TaskItemSurrogate data
public Save ( ) : TaskItem
return TaskItem

TaskItemSurrogate() public method

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

Property Details

Anchor public_oe property

See TaskItem.Anchor. This member is not intended to be used directly from your code.
public AnchorStyles Anchor
return AnchorStyles

BackColor public_oe property

See TaskItem.BackColor. This member is not intended to be used directly from your code.
public string BackColor
return string

CustomSettings public_oe property

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

Dock public_oe property

See TaskItem.Dock. This member is not intended to be used directly from your code.
public DockStyle Dock
return DockStyle

Enabled public_oe property

See TaskItem.Enabled. This member is not intended to be used directly from your code.
public bool Enabled
return bool

FontDecoration public_oe property

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

FontName public_oe property

See Font.Name. This member is not intended to be used directly from your code.
public string FontName
return string

FontSize public_oe property

See Font.Size. This member is not intended to be used directly from your code.
public float FontSize
return float

Location public_oe property

See TaskItem.Location. This member is not intended to be used directly from your code.
public Point Location
return Point

Name public_oe property

See TaskItem.Name. This member is not intended to be used directly from your code.
public string Name
return string

ShowFocusCues public_oe property

See TaskItem.ShowFocusCues. This member is not intended to be used directly from your code.
public bool ShowFocusCues
return bool

Size public_oe property

See TaskItem.Size. This member is not intended to be used directly from your code.
public Size,System.Drawing Size
return System.Drawing.Size

Text public_oe property

See TaskItem.Text. This member is not intended to be used directly from your code.
public string Text
return string

UseGdiText public_oe property

See TaskItem.UseGdiText. This member is not intended to be used directly from your code.
public bool UseGdiText
return bool

Version public_oe property

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

Visible public_oe property

See TaskItem.Visible. This member is not intended to be used directly from your code.
public bool Visible
return bool