C# Class Dalssoft.DiagramNet.LabelElement

Inheritance: BaseElement, ISerializable, IControllable
Exibir arquivo Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

Property Type Description
autoSize bool
backColor1 Color
backColor2 Color
foreColor1 Color
foreColor2 Color
readOnly bool
text string

Private Properties

Property Type Description
Draw void
IControllable IController
ISerializable void
PositionBySite void

Public Methods

Method Description
DoAutoSize ( ) : void
LabelElement ( ) : System
LabelElement ( Point l, Size s ) : System
LabelElement ( Rectangle rec ) : System
LabelElement ( int top, int left, int width, int height ) : System

Protected Methods

Method Description
DrawBorder ( Graphics g, Rectangle r ) : void
GetBrushBackColor ( Rectangle r ) : Brush
GetBrushForeColor ( Rectangle r ) : Brush
LabelElement ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
Draw ( System g ) : void
IControllable ( ) : IController
ISerializable ( SerializationInfo info, StreamingContext context ) : void
PositionBySite ( BaseElement site ) : void

Method Details

DoAutoSize() public method

public DoAutoSize ( ) : void
return void

DrawBorder() protected method

protected DrawBorder ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
return void

GetBrushBackColor() protected method

protected GetBrushBackColor ( Rectangle r ) : Brush
r System.Drawing.Rectangle
return System.Drawing.Brush

GetBrushForeColor() protected method

protected GetBrushForeColor ( Rectangle r ) : Brush
r System.Drawing.Rectangle
return System.Drawing.Brush

LabelElement() public method

public LabelElement ( ) : System
return System

LabelElement() public method

public LabelElement ( Point l, Size s ) : System
l Point
s System.Drawing.Size
return System

LabelElement() public method

public LabelElement ( Rectangle rec ) : System
rec System.Drawing.Rectangle
return System

LabelElement() protected method

protected LabelElement ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

LabelElement() public method

public LabelElement ( int top, int left, int width, int height ) : System
top int
left int
width int
height int
return System

Property Details

autoSize protected_oe property

protected bool autoSize
return bool

backColor1 protected_oe property

protected Color backColor1
return Color

backColor2 protected_oe property

protected Color backColor2
return Color

foreColor1 protected_oe property

protected Color foreColor1
return Color

foreColor2 protected_oe property

protected Color foreColor2
return Color

readOnly protected_oe property

protected bool readOnly
return bool

text protected_oe property

protected string text
return string