C# Class ZForge.Controls.ExplorerBar.HeaderInfo.HeaderInfoSurrogate

Inheritance: ISerializable
显示文件 Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
FontName string
FontSize float
FontStyle FontStyle
GradientOffset float
Margin int
NormalAlignment ContentAlignment
NormalBackColor string
NormalBorder Border
NormalBorderColor string
NormalGradientEndColor string
NormalGradientStartColor string
NormalPadding Padding
NormalTitle string
NormalTitleHot string
SpecialAlignment ContentAlignment
SpecialBackColor string
SpecialBorder Border
SpecialBorderColor string
SpecialGradientEndColor string
SpecialGradientStartColor string
SpecialPadding Padding
SpecialTitle string
SpecialTitleHot string
TitleGradient bool
TitleRadius int
Version int

Public Methods

Method Description
HeaderInfoSurrogate ( ) : System

Initializes a new instance of the HeaderInfoSurrogate class with default settings

Load ( HeaderInfo headerInfo ) : void

Populates the HeaderInfoSurrogate with data that is to be serialized from the specified HeaderInfo

Save ( ) : HeaderInfo

Returns a HeaderInfo that contains the deserialized HeaderInfoSurrogate data

Private Methods

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

Method Details

HeaderInfoSurrogate() public method

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

Load() public method

Populates the HeaderInfoSurrogate with data that is to be serialized from the specified HeaderInfo
public Load ( HeaderInfo headerInfo ) : void
headerInfo HeaderInfo The HeaderInfo that contains the data /// to be serialized
return void

Save() public method

Returns a HeaderInfo that contains the deserialized HeaderInfoSurrogate data
public Save ( ) : HeaderInfo
return HeaderInfo

Property Details

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

FontStyle public_oe property

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

GradientOffset public_oe property

See HeaderInfo.GradientOffset. This member is not intended to be used directly from your code.
public float GradientOffset
return float

Margin public_oe property

See HeaderInfo.Margin. This member is not intended to be used directly from your code.
public int Margin
return int

NormalAlignment public_oe property

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

NormalBackColor public_oe property

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

NormalBorder public_oe property

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

NormalBorderColor public_oe property

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

NormalGradientEndColor public_oe property

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

NormalGradientStartColor public_oe property

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

NormalPadding public_oe property

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

NormalTitle public_oe property

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

NormalTitleHot public_oe property

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

SpecialAlignment public_oe property

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

SpecialBackColor public_oe property

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

SpecialBorder public_oe property

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

SpecialBorderColor public_oe property

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

SpecialGradientEndColor public_oe property

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

SpecialGradientStartColor public_oe property

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

SpecialPadding public_oe property

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

SpecialTitle public_oe property

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

SpecialTitleHot public_oe property

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

TitleGradient public_oe property

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

TitleRadius public_oe property

See HeaderInfo.TitleRadius. This member is not intended to be used directly from your code.
public int TitleRadius
return int

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