Class AlertDialog

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
9

AlertDialog class shows a dialog with title, message and action buttons.

C#
Copy
public class AlertDialog : Control, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

AlertDialog()

Creates a new instance of AlertDialog.

Declaration
C#
Copy
public AlertDialog()
API Level: 9
View Source

AlertDialog(String)

Creates a new instance of AlertDialog.

Declaration
C#
Copy
public AlertDialog(string style)
Parameters
Type Name Description
String style

Creates AlertDialog by special style defined in UX.

API Level: 9
View Source

AlertDialog(AlertDialogStyle)

Creates a new instance of AlertDialog.

Declaration
C#
Copy
public AlertDialog(AlertDialogStyle alertDialogStyle)
Parameters
Type Name Description
AlertDialogStyle alertDialogStyle

Creates AlertDialog by style customized by user.

API Level: 9

Fields

View Source

ActionContentProperty

ActionContentProperty

Declaration
C#
Copy
public static readonly BindableProperty ActionContentProperty
Field Value
Type Description
BindableProperty
View Source

ActionsProperty

ActionsProperty

Declaration
C#
Copy
public static readonly BindableProperty ActionsProperty
Field Value
Type Description
BindableProperty
View Source

ContentProperty

ContentProperty

Declaration
C#
Copy
public static readonly BindableProperty ContentProperty
Field Value
Type Description
BindableProperty
View Source

MessageProperty

MessageProperty

Declaration
C#
Copy
public static readonly BindableProperty MessageProperty
Field Value
Type Description
BindableProperty
View Source

TitleContentProperty

TitleContentProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleContentProperty
Field Value
Type Description
BindableProperty
View Source

TitleProperty

TitleProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleProperty
Field Value
Type Description
BindableProperty

Properties

View Source

ActionContent

Action content of AlertDialog. ActionContent is added as a child of AlertDialog automatically. Actions are added as children of ActionContent.

Declaration
C#
Copy
public View ActionContent { get; set; }
Property Value
Type Description
View
API Level: 9
View Source

Actions

Action views of AlertDialog. Action views are added as children of ActionContent. When Actions are set, previous Actions are removed from ActionContent.

Declaration
C#
Copy
public IEnumerable<View> Actions { get; set; }
Property Value
Type Description
IEnumerable<View>
API Level: 9
View Source

Content

Content of AlertDialog. Content is added as a child of AlertDialog automatically. Message text is set to Content's Text if Content is TextLabel. If Content's Text is set manually by user, then it is not guaranteed that Content's Text is the same with Message text.

Declaration
C#
Copy
public View Content { get; set; }
Property Value
Type Description
View
API Level: 9
View Source

DefaultActionContent

Default action content of AlertDialog. If Actions are set, then default action content is automatically displayed.

Declaration
C#
Copy
protected View DefaultActionContent { get; }
Property Value
Type Description
View
View Source

DefaultContent

Default content of AlertDialog. If Message is set, then default content is automatically displayed.

Declaration
C#
Copy
protected View DefaultContent { get; }
Property Value
Type Description
View
View Source

DefaultTitleContent

Default title content of AlertDialog. If Title is set, then default title content is automatically displayed.

Declaration
C#
Copy
protected View DefaultTitleContent { get; }
Property Value
Type Description
View
View Source

Message

Message text of AlertDialog. Message text is set to Content's Text if Content is TextLabel. If Content's Text is set manually by user, then it is not guaranteed that Content's Text is the same with Message text.

Declaration
C#
Copy
public string Message { get; set; }
Property Value
Type Description
String
API Level: 9
View Source

Title

Title text of AlertDialog. Title text is set to TitleContent's Text if TitleContent is TextLabel. If TitleContent's Text is set manually by user, then it is not guaranteed that TitleContent's Text is the same with Title text.

Declaration
C#
Copy
public string Title { get; set; }
Property Value
Type Description
String
API Level: 9
View Source

TitleContent

Title content of AlertDialog. TitleContent is added as a child of AlertDialog automatically. Title text is set to TitleContent's Text if TitleContent is TextLabel. If TitleContent's Text is set manually by user, then it is not guaranteed that TitleContent's Text is the same with Title text.

Declaration
C#
Copy
public View TitleContent { get; set; }
Property Value
Type Description
View
API Level: 9

Methods

View Source

AccessibilityCalculateStates()

Informs AT-SPI bridge about the set of AT-SPI states associated with this object.

Declaration
C#
Copy
protected override AccessibilityStates AccessibilityCalculateStates()
Returns
Type Description
AccessibilityStates
Overrides
View Source

AccessibilityGetDescription()

Gets accessibility description.

Declaration
C#
Copy
protected override string AccessibilityGetDescription()
Returns
Type Description
String
Overrides
View Source

AccessibilityGetName()

Gets accessibility name.

Declaration
C#
Copy
protected override string AccessibilityGetName()
Returns
Type Description
String
Overrides
View Source

ApplyStyle(ViewStyle)

Applies style to AlertDialog.

Declaration
C#
Copy
public override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type Name Description
ViewStyle viewStyle

The style to apply.

Overrides
API Level: 9
View Source

Dispose(DisposeTypes)

Dispose Control and all children on it.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
View Source

OnInitialize()

Initialize AT-SPI object.

Declaration
C#
Copy
public override void OnInitialize()
Overrides

Implements

Extension Methods