C# Class ZForge.Controls.ExplorerBar.TaskPaneInfo.TaskPaneInfoSurrogate

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

Public Properties

Property Type Description
GradientDirection LinearGradientMode
GradientEndColor string
GradientStartColor string
Padding Padding
StretchMode ImageStretchMode
Version int
WatermarkAlignment ContentAlignment

Public Methods

Method Description
Load ( TaskPaneInfo taskPaneInfo ) : void

Populates the TaskPaneInfoSurrogate with data that is to be serialized from the specified TaskPaneInfo

Save ( ) : TaskPaneInfo

Returns a TaskPaneInfo that contains the deserialized TaskPaneInfoSurrogate data

TaskPaneInfoSurrogate ( ) : System

Initializes a new instance of the TaskPaneInfoSurrogate class with default settings

Private Methods

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

Method Details

Load() public method

Populates the TaskPaneInfoSurrogate with data that is to be serialized from the specified TaskPaneInfo
public Load ( TaskPaneInfo taskPaneInfo ) : void
taskPaneInfo TaskPaneInfo The TaskPaneInfo that contains the data /// to be serialized
return void

Save() public method

Returns a TaskPaneInfo that contains the deserialized TaskPaneInfoSurrogate data
public Save ( ) : TaskPaneInfo
return TaskPaneInfo

TaskPaneInfoSurrogate() public method

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

Property Details

GradientDirection public property

See TaskPaneInfo.GradientDirection. This member is not intended to be used directly from your code.
public LinearGradientMode GradientDirection
return LinearGradientMode

GradientEndColor public property

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

GradientStartColor public property

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

Padding public property

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

StretchMode public property

See TaskPaneInfo.StretchMode. This member is not intended to be used directly from your code.
public ImageStretchMode StretchMode
return ImageStretchMode

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

WatermarkAlignment public property

See TaskPaneInfo.WatermarkAlignment. This member is not intended to be used directly from your code.
public ContentAlignment WatermarkAlignment
return ContentAlignment