C# Class TUM.CMS.VplControl.Core.VplElement

The superclass for all node types within VplControl.
Inheritance: System.Windows.Controls.Grid, INotifyPropertyChanged, IDisposable
Show file Open project: tumcms/TUM.CMS.VPLControl Class Usage Examples

Public Properties

Property Type Description
AutoCheckBox System.Windows.Controls.CheckBox
BinButton System.Windows.Controls.Button
BorderProperty System.Windows.DependencyProperty
CaptionLabel System.Windows.Controls.Label
HitTestBorder System.Windows.Controls.Border
HitTestGrid System.Windows.Controls.Grid
IsSelectedProperty System.Windows.DependencyProperty
NameProperty System.Windows.DependencyProperty
QuestButton System.Windows.Controls.Button
ResizeButton System.Windows.Controls.Button

Public Methods

Method Description
Dispose ( ) : void
GetPosition ( ) : Point
Hide ( ) : void
OnSelectionChanged ( object sender, EventArgs e ) : void
Show ( ) : void
binButton_Click ( object sender, RoutedEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
VplElement ( VplControl hostCanvas ) : System

Initializes a new instance of VplElement class.

Private Methods

Method Description
HitTestBorder_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
HitTestBorder_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetPosition() public method

public GetPosition ( ) : Point
return Point

Hide() public method

public Hide ( ) : void
return void

OnSelectionChanged() public method

public OnSelectionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Show() public method

public Show ( ) : void
return void

VplElement() protected method

Initializes a new instance of VplElement class.
protected VplElement ( VplControl hostCanvas ) : System
hostCanvas VplControl The host VplControl in which the VplElement will be rendered.
return System

binButton_Click() public method

public binButton_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void

Property Details

AutoCheckBox public property

public CheckBox,System.Windows.Controls AutoCheckBox
return System.Windows.Controls.CheckBox

BinButton public property

public Button,System.Windows.Controls BinButton
return System.Windows.Controls.Button

BorderProperty public static property

public static DependencyProperty,System.Windows BorderProperty
return System.Windows.DependencyProperty

CaptionLabel public property

public Label,System.Windows.Controls CaptionLabel
return System.Windows.Controls.Label

HitTestBorder public property

public Border,System.Windows.Controls HitTestBorder
return System.Windows.Controls.Border

HitTestGrid public property

public Grid,System.Windows.Controls HitTestGrid
return System.Windows.Controls.Grid

IsSelectedProperty public static property

public static DependencyProperty,System.Windows IsSelectedProperty
return System.Windows.DependencyProperty

NameProperty public static property

public static DependencyProperty,System.Windows NameProperty
return System.Windows.DependencyProperty

QuestButton public property

public Button,System.Windows.Controls QuestButton
return System.Windows.Controls.Button

ResizeButton public property

public Button,System.Windows.Controls ResizeButton
return System.Windows.Controls.Button