C# Class Dalssoft.DiagramNet.Document

Inheritance: IDeserializationCallback
Mostrar archivo Open project: AlexandrSurkov/PKStudio Class Usage Examples

Private Properties

Property Type Description
CalcWindow void
CanAddLink bool
DrawElements void
DrawGrid void
DrawSelections void
FindInnerElement BaseElement
IDeserializationCallback void
NeedDrawElement bool
RecreateEventsHandlers void
element_AppearanceChanged void

Public Methods

Method Description
AddElement ( BaseElement el ) : void
AddElements ( BaseElement els ) : void
AddElements ( ElementCollection els ) : void
AddLink ( ConnectorElement connStart, ConnectorElement connEnd ) : BaseLinkElement
BringToFrontElement ( BaseElement el ) : void
ClearSelection ( ) : void
DeleteElement ( BaseElement el ) : void
DeleteElement ( Point p ) : void
DeleteLink ( BaseLinkElement lnk ) : void
DeleteSelectedElements ( ) : void
Document ( ) : System
FindElement ( Point point ) : BaseElement
MoveDownElement ( BaseElement el ) : void
MoveUpElement ( BaseElement el ) : void
SelectAllElements ( ) : void
SelectElement ( BaseElement el ) : void
SelectElements ( BaseElement els ) : void
SelectElements ( Rectangle selectionRectangle ) : void
SendToBackElement ( BaseElement el ) : void

Protected Methods

Method Description
OnAppearancePropertyChanged ( EventArgs e ) : void
OnElementPropertyChanged ( object sender, EventArgs e ) : void
OnElementSelection ( object sender, ElementSelectionEventArgs e ) : void
OnPropertyChanged ( EventArgs e ) : void

Private Methods

Method Description
CalcWindow ( bool forceCalc ) : void
CanAddLink ( ConnectorElement connStart, ConnectorElement connEnd ) : bool
DrawElements ( Graphics g, Rectangle clippingRegion ) : void
DrawGrid ( Graphics g, Rectangle clippingRegion ) : void
DrawSelections ( Graphics g, Rectangle clippingRegion ) : void
FindInnerElement ( IContainer parent, Point hitPos ) : BaseElement
IDeserializationCallback ( object sender ) : void
NeedDrawElement ( BaseElement el, Rectangle clippingRegion ) : bool
RecreateEventsHandlers ( ) : void
element_AppearanceChanged ( object sender, EventArgs e ) : void

Method Details

AddElement() public method

public AddElement ( BaseElement el ) : void
el BaseElement
return void

AddElements() public method

public AddElements ( BaseElement els ) : void
els BaseElement
return void

AddElements() public method

public AddElements ( ElementCollection els ) : void
els ElementCollection
return void

AddLink() public method

public AddLink ( ConnectorElement connStart, ConnectorElement connEnd ) : BaseLinkElement
connStart ConnectorElement
connEnd ConnectorElement
return BaseLinkElement

BringToFrontElement() public method

public BringToFrontElement ( BaseElement el ) : void
el BaseElement
return void

ClearSelection() public method

public ClearSelection ( ) : void
return void

DeleteElement() public method

public DeleteElement ( BaseElement el ) : void
el BaseElement
return void

DeleteElement() public method

public DeleteElement ( Point p ) : void
p Point
return void

DeleteLink() public method

public DeleteLink ( BaseLinkElement lnk ) : void
lnk BaseLinkElement
return void

DeleteSelectedElements() public method

public DeleteSelectedElements ( ) : void
return void

Document() public method

public Document ( ) : System
return System

FindElement() public method

public FindElement ( Point point ) : BaseElement
point Point
return BaseElement

MoveDownElement() public method

public MoveDownElement ( BaseElement el ) : void
el BaseElement
return void

MoveUpElement() public method

public MoveUpElement ( BaseElement el ) : void
el BaseElement
return void

OnAppearancePropertyChanged() protected method

protected OnAppearancePropertyChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnElementPropertyChanged() protected method

protected OnElementPropertyChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnElementSelection() protected method

protected OnElementSelection ( object sender, ElementSelectionEventArgs e ) : void
sender object
e ElementSelectionEventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( EventArgs e ) : void
e System.EventArgs
return void

SelectAllElements() public method

public SelectAllElements ( ) : void
return void

SelectElement() public method

public SelectElement ( BaseElement el ) : void
el BaseElement
return void

SelectElements() public method

public SelectElements ( BaseElement els ) : void
els BaseElement
return void

SelectElements() public method

public SelectElements ( Rectangle selectionRectangle ) : void
selectionRectangle System.Drawing.Rectangle
return void

SendToBackElement() public method

public SendToBackElement ( BaseElement el ) : void
el BaseElement
return void