C# Класс NClass.DiagramEditor.ClassDiagram.Shapes.EnumShape

Наследование: TypeShape
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DeleteActiveValue void
DrawItem void
EnumShape System
GetMemberRectangle System.Drawing.Rectangle
SelectMember void

Открытые методы

Метод Описание
MoveDown ( ) : void
MoveUp ( ) : void

Защищенные методы

Метод Описание
CloneEntity ( IDiagram diagram ) : bool
DeleteSelectedMember ( bool showConfirmation ) : bool
DrawContent ( IGraphics g, Style style ) : void
DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
EditMembers ( ) : void
GetBackgroundColor ( Style style ) : Color
GetBorderColor ( Style style ) : Color
GetBorderWidth ( Style style ) : int
GetEditorWindow ( ) : EditorWindow
GetGradientHeaderStyle ( Style style ) : GradientStyle
GetHeaderColor ( Style style ) : Color
GetRequiredHeight ( ) : int
GetRequiredWidth ( Graphics g, Style style ) : float
GetRoundingSize ( Style style ) : int
IsBorderDashed ( Style style ) : bool
OnMouseDown ( AbsoluteMouseEventArgs e ) : void

Приватные методы

Метод Описание
DeleteActiveValue ( ) : void
DrawItem ( IGraphics g, EnumValue value, Rectangle record, Style style ) : void
EnumShape ( EnumType _enum ) : System
GetMemberRectangle ( int memberIndex ) : Rectangle
SelectMember ( PointF location ) : void

Описание методов

CloneEntity() защищенный Метод

protected CloneEntity ( IDiagram diagram ) : bool
diagram IDiagram
Результат bool

DeleteSelectedMember() защищенный Метод

protected DeleteSelectedMember ( bool showConfirmation ) : bool
showConfirmation bool
Результат bool

DrawContent() защищенный Метод

protected DrawContent ( IGraphics g, Style style ) : void
g IGraphics
style Style
Результат void

DrawSelectionLines() защищенный Метод

protected DrawSelectionLines ( Graphics g, float zoom, Point offset ) : void
g System.Drawing.Graphics
zoom float
offset Point
Результат void

EditMembers() защищенный Метод

protected EditMembers ( ) : void
Результат void

GetBackgroundColor() защищенный Метод

protected GetBackgroundColor ( Style style ) : Color
style Style
Результат Color

GetBorderColor() защищенный Метод

protected GetBorderColor ( Style style ) : Color
style Style
Результат Color

GetBorderWidth() защищенный Метод

protected GetBorderWidth ( Style style ) : int
style Style
Результат int

GetEditorWindow() защищенный Метод

protected GetEditorWindow ( ) : EditorWindow
Результат NClass.DiagramEditor.ClassDiagram.Editors.EditorWindow

GetGradientHeaderStyle() защищенный Метод

protected GetGradientHeaderStyle ( Style style ) : GradientStyle
style Style
Результат GradientStyle

GetHeaderColor() защищенный Метод

protected GetHeaderColor ( Style style ) : Color
style Style
Результат Color

GetRequiredHeight() защищенный Метод

protected GetRequiredHeight ( ) : int
Результат int

GetRequiredWidth() защищенный Метод

protected GetRequiredWidth ( Graphics g, Style style ) : float
g System.Drawing.Graphics
style Style
Результат float

GetRoundingSize() защищенный Метод

protected GetRoundingSize ( Style style ) : int
style Style
Результат int

IsBorderDashed() защищенный Метод

protected IsBorderDashed ( Style style ) : bool
style Style
Результат bool

MoveDown() публичный Метод

public MoveDown ( ) : void
Результат void

MoveUp() публичный Метод

public MoveUp ( ) : void
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( AbsoluteMouseEventArgs e ) : void
e AbsoluteMouseEventArgs
Результат void