BubbleNotification

Wisej.Web.Ext.Bubbles.BubbleNotification

Namespace: Wisej.Web.Ext.Bubbles

Assembly: Wisej.Web.Ext.Bubbles (3.2.0.0)

Represents a numeric notification bubble that can be displayed next to any control.

public class BubbleNotification : Component, IExtenderProvider

Constructors

BubbleNotification()

Initializes a new instance of the BubbleNotification without a specified container.

BubbleNotification(container)

Initializes a new instance of the BubbleNotification class with a specified container.

Name
Type
Description

container

An IContainercontainer.

Properties

Alignment

ContentAlignment: Specifies the alignment of the bubble notification. (Default: TopRight)

Margin

Padding: Specifies the offset of the bubble notification.

Tag

Object: Returns or sets the object that contains programmer-supplied data associated with this component. (Default: null)

Methods

CanExtend(target)

Returns true if BubbleNotification can offer an extender property to the specified target component.

Parameter
Type
Description

target

The target object to add an extender property to.

Returns: Boolean. true if the BubbleNotification class can offer one or more extender properties; otherwise, false.

Clear()

Removes all bubbles.

GetBubbleStyle(control)

Returns the notification value associated with the specified control.

Parameter
Type
Description

control

The Control for which to retrieve the BubbleNotification value.

Returns: BubbleStyle. A Int32 containing the value to display in the bubble; when 0, the bubble is hidden.

GetBubbleValue(control)

Returns the notification value associated with the specified control.

Parameter
Type
Description

control

The Control for which to retrieve the BubbleNotification value.

Returns: Int32. A Int32 containing the value to display in the bubble; when 0, the bubble is hidden.

SetBubbleStyle(control, style)

Shows the bubble notification value with the specified control.

Parameter
Type
Description

control

The Control to associate the JavaScript with.

style

The value to show in the bubble notification; 0 hides the bubble.

SetBubbleValue(control, value)

Shows the bubble notification value with the specified control.

Parameter
Type
Description

control

The Control to associate the JavaScript with.

value

The value to show in the bubble notification; 0 hides the bubble.

Events

Click

BubbleEventHandler Fired when the user clicks on a bubble notification.

Last updated

Was this helpful?