Class Ripple
- Namespace
- HeBianGu.General.WpfControlLib
- Assembly
- HeBianGu.General.WpfControlLib.dll
[TemplateVisualState(GroupName = "CommonStates", Name = "Normal")]
[TemplateVisualState(GroupName = "CommonStates", Name = "MousePressed")]
[TemplateVisualState(GroupName = "CommonStates", Name = "MouseOut")]
public class Ripple : ContentControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild- Inheritance
- 
      
      
      
      
      
      
      
      
      Ripple
- Implements
- Inherited Members
- Extension Methods
Constructors
Ripple()
public Ripple()Fields
FeedbackProperty
public static readonly DependencyProperty FeedbackPropertyField Value
RecognizesAccessKeyProperty
The DependencyProperty for the RecognizesAccessKey property. Default Value: false
public static readonly DependencyProperty RecognizesAccessKeyPropertyField Value
RippleSizeProperty
public static readonly DependencyProperty RippleSizePropertyField Value
RippleXProperty
public static readonly DependencyProperty RippleXPropertyField Value
RippleYProperty
public static readonly DependencyProperty RippleYPropertyField Value
TemplateStateMouseOut
public const string TemplateStateMouseOut = "MouseOut"Field Value
TemplateStateMousePressed
public const string TemplateStateMousePressed = "MousePressed"Field Value
TemplateStateNormal
public const string TemplateStateNormal = "Normal"Field Value
Properties
Feedback
public Brush Feedback { get; set; }Property Value
RecognizesAccessKey
Determine if Ripple should use AccessText in its style
public bool RecognizesAccessKey { get; set; }Property Value
RippleSize
public double RippleSize { get; }Property Value
RippleX
public double RippleX { get; }Property Value
RippleY
public double RippleY { get; }Property Value
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)Parameters
- eMouseButtonEventArgs
- The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.