C# Class ICSharpCode.WpfDesign.Designer.Controls.GridRailAdorner

Adorner that displays the blue bar next to grids that can be used to create new rows/column.
Inheritance: System.Windows.FrameworkElement
Afficher le fichier Open project: icsharpcode/WpfDesigner Class Usage Examples

Méthodes publiques

Méthode Description
GridRailAdorner ( DesignItem gridItem, AdornerPanel adornerPanel, Orientation orientation ) : System
SetGridLengthUnit ( GridUnitType unit ) : void
SetGridLengthUnit ( GridUnitType unit, DesignItem item, DependencyProperty property ) : void

Méthodes protégées

Méthode Description
OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Méthode Description
FixIndicesAfterSplit ( int splitIndex, DependencyProperty idxProperty, DependencyProperty spanProperty, double insertionPostion ) : void
GetNewGridLength ( GridUnitType unit, GridLength oldValue ) : GridLength
GridLengthToText ( GridLength len ) : string
GridRailAdorner ( ) : System
SplitLength ( GridLength oldLength, double insertionPosition, double oldActualValue, GridLength &newLength1, GridLength &newLength2 ) : void

Method Details

GridRailAdorner() public méthode

public GridRailAdorner ( DesignItem gridItem, AdornerPanel adornerPanel, Orientation orientation ) : System
gridItem DesignItem
adornerPanel AdornerPanel
orientation Orientation
Résultat System

OnMouseEnter() protected méthode

protected OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
Résultat void

OnMouseLeftButtonDown() protected méthode

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
Résultat void

OnRender() protected méthode

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
Résultat void

SetGridLengthUnit() public méthode

public SetGridLengthUnit ( GridUnitType unit ) : void
unit GridUnitType
Résultat void

SetGridLengthUnit() public méthode

public SetGridLengthUnit ( GridUnitType unit, DesignItem item, DependencyProperty property ) : void
unit GridUnitType
item DesignItem
property System.Windows.DependencyProperty
Résultat void