C# Class ICSharpCode.WpfDesign.Designer.PropertyGrid.Editors.BrushEditor.GradientSlider

Mostrar archivo Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Properties

Property Type Description
BrushProperty System.Windows.DependencyProperty
GradientStopsProperty System.Windows.DependencyProperty
SelectedStopProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetColorAtOffset ( IList stops, double offset ) : Color
SpecialInitializeComponent ( ) : void

Fixes InitializeComponent with multiple Versions of same Assembly loaded

Protected Methods

Method Description
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method Description
ClassDragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
GradientSlider ( ) : System
MoveStop ( System.Windows.Media.GradientStop stop, double oldOffset, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
strip_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
strip_DragStarted ( object sender, System.Windows.Controls.Primitives.DragStartedEventArgs e ) : void
thumb_DragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void

Method Details

GetColorAtOffset() public static method

public static GetColorAtOffset ( IList stops, double offset ) : Color
stops IList
offset double
return Color

OnPropertyChanged() protected method

protected OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
return void

SpecialInitializeComponent() public method

Fixes InitializeComponent with multiple Versions of same Assembly loaded
public SpecialInitializeComponent ( ) : void
return void

Property Details

BrushProperty public_oe static_oe property

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

GradientStopsProperty public_oe static_oe property

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

SelectedStopProperty public_oe static_oe property

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