BubbleControl
A WPF custom control that can be used to provide an exotic visual action response indicator/cue for any user action on the application user-interface, just like what we see in other popular mobile OSs like Android, etc.
public class BubbleControl : ContentControl
Inherits from / implements: ContentControl
Remarks
You can use this control to host any other .NET UI element in it, and be able to provide visual feedback to any user action on it (mouse click, etc.), by letting the control render a animated wave / bubble-like UI visual as feedback.
We have all seen this kind of feature in various Presentation/screen-casting software where, when you click on a element on the screen, we get the visual feedback of where we had clicked, by the software rendering a circular swirls at the point of mouse-clicks.
Well! Now with our ExoticBubble .NET control, you too can have that feature (and much, much more) in your very own WPF applications.
Members at a glance
BubbleChildLayerBrush | Gets or sets the bubble child layer brush. |
BubbleExpansionFactor | Gets or sets the bubble expansion factor. |
BubbleInnerLayerBrush | Gets or sets the bubble inner layer brush. |
BubbleInvocationEvents | Gets or sets the bubble invocation events. |
BubbleOuterLayerBrush | Gets or sets the bubble outer layer brush. |
ShouldRunOnTop | Gets or sets a value indicating whether the bubble should run on top of the clicked content area (over the content area), or should it show the clicked content and show the bubble aspect underneath the clicked content. |
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. |
BubbleChildLayerBrushProperty | Identifies the BubbleChildLayerBrush dependency property. |
BubbleExpansionFactorProperty | Identifies the BubbleExpansionFactor dependency property. |
BubbleInnerLayerBrushProperty | Identifies the BubbleInnerLayerBrush dependency property. |
BubbleInvocationEventsProperty | Identifies the BubbleInvocationEvents dependency property. |
BubbleOuterLayerBrushProperty | Identifies the BubbleOuterLayerBrush dependency property. |
ShouldRunOnTopProperty | Identifies the ShouldRunOnTop dependency property. |
Properties
BubbleChildLayerBrush
Gets or sets the bubble child layer brush.
BubbleExpansionFactor
Gets or sets the bubble expansion factor.
BubbleInnerLayerBrush
Gets or sets the bubble inner layer brush.
BubbleInvocationEvents
Gets or sets the bubble invocation events.
For example, you can add the
MouseRightButtonUpEvent to be used for invoking the ExoticBubble control's features. Remember, the ExoticBubble control already provides (by default) invoking its services for the
MouseLeftButtonDownEvent RoutedEvent. By setting additional routed-events (like MouseRightButtonUpEvent), we get the bubble control invoked in both these situations.BubbleOuterLayerBrush
Gets or sets the bubble outer layer brush.
ShouldRunOnTop
Gets or sets a value indicating whether the bubble should run on top of the clicked content area (over the content area), or should it show the clicked content and show the bubble aspect underneath the clicked content.
Methods
OnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
Fields
BubbleChildLayerBrushProperty
Identifies the BubbleChildLayerBrush dependency property.
BubbleExpansionFactorProperty
Identifies the BubbleExpansionFactor dependency property.
BubbleInnerLayerBrushProperty
Identifies the BubbleInnerLayerBrush dependency property.
BubbleInvocationEventsProperty
Identifies the BubbleInvocationEvents dependency property.
BubbleOuterLayerBrushProperty
Identifies the BubbleOuterLayerBrush dependency property.
ShouldRunOnTopProperty
Identifies the ShouldRunOnTop dependency property.