C# Class Glass.Design.Designer.DesignerItem

Inheritance: System.Windows.Controls.ContentControl, IDesignerItem
Datei anzeigen Open project: SuperJMN/Glass Class Usage Examples

Public Properties

Property Type Description
IsEditingProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty
LeftProperty System.Windows.DependencyProperty
TopProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void
SetDraggable ( IDesignable designable ) : void

Protected Methods

Method Description
OnIsEditingChanged ( bool oldIsEditing, bool newIsEditing ) : void
OnLeftChanged ( double oldLeft, double newLeft ) : void
OnTopChanged ( double oldTop, double newTop ) : void

Private Methods

Method Description
AddParentWindowHandler ( ) : void
AttachHandlersToLeftAndTop ( ) : void
DesignerItem ( ) : System
OnCanvasLeftChanged ( object sender, EventArgs eventArgs ) : void
OnCanvasTopChanged ( object sender, EventArgs eventArgs ) : void
OnGotFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
OnIsEditingChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsSelectedChanged ( ) : void
OnIsSelectedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLeftChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs routedEventArgs ) : void
OnPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs keyEventArgs ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs sizeChangedEventArgs ) : void
OnTopChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaiseIsSelectedChanged ( ) : void
RaiseLocationChanged ( ) : void
RaiseSizeChanged ( ) : void
RemoveParentWindowHandler ( ) : void
WindowOnPreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnIsEditingChanged() protected method

protected OnIsEditingChanged ( bool oldIsEditing, bool newIsEditing ) : void
oldIsEditing bool
newIsEditing bool
return void

OnLeftChanged() protected method

protected OnLeftChanged ( double oldLeft, double newLeft ) : void
oldLeft double
newLeft double
return void

OnTopChanged() protected method

protected OnTopChanged ( double oldTop, double newTop ) : void
oldTop double
newTop double
return void

SetDraggable() public method

public SetDraggable ( IDesignable designable ) : void
designable IDesignable
return void

Property Details

IsEditingProperty public_oe static_oe property

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

IsSelectedProperty public_oe static_oe property

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

LeftProperty public_oe static_oe property

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

TopProperty public_oe static_oe property

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