Skip to main content

BubbleNotification

Namespace: Wisej.Web.Ext.Bubbles

Assembly: Wisej.Web.Ext.Bubbles

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

public class BubbleNotification : Component, IExtenderProvider

Constructors

Instance memberBubbleNotification()

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

Instance memberBubbleNotification(container)

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

NameTypeDescription
containerIContainerAn IContainercontainer.

Properties

Instance memberAlignment

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

Instance memberMargin

Padding: Specifies the offset of the bubble notification.

Instance memberTag

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

Methods

Instance memberCanExtend(target)

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

ParameterTypeDescription
targetObjectThe target object to add an extender property to.

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

Instance memberClear()

Removes all bubbles.

Instance memberGetBubbleStyle(control)

Returns the notification value associated with the specified control.

ParameterTypeDescription
controlControlThe 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.

Instance memberGetBubbleValue(control)

Returns the notification value associated with the specified control.

ParameterTypeDescription
controlControlThe 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.

Instance memberSetBubbleStyle(control, style)

Shows the bubble notification value with the specified control.

ParameterTypeDescription
controlControlThe Control to associate the JavaScript with.
styleBubbleStyleThe value to show in the bubble notification; 0 hides the bubble.

Instance memberSetBubbleValue(control, value)

Shows the bubble notification value with the specified control.

ParameterTypeDescription
controlControlThe Control to associate the JavaScript with.
valueInt32The value to show in the bubble notification; 0 hides the bubble.

Events

Instance memberClick

BubbleEventHandler Fired when the user clicks on a bubble notification.