Table of Contents

Class BottomSheet

Namespace
Adw
Assembly
Adw-1.dll
public sealed class BottomSheet : Widget, IDisposable, Swipeable, Accessible, Buildable, ConstraintTarget, GTypeProvider, InstanceFactory
Inheritance
BottomSheet
Implements
Inherited Members

Constructors

BottomSheet(BottomSheetHandle)

public BottomSheet(BottomSheetHandle handle)

Parameters

handle BottomSheetHandle

BottomSheet(params ConstructArgument[])

public BottomSheet(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Fields

AlignPropertyDefinition

public static readonly Property<float, BottomSheet> AlignPropertyDefinition

Field Value

Property<float, BottomSheet>

BottomBarHeightPropertyDefinition

public static readonly Property<int, BottomSheet> BottomBarHeightPropertyDefinition

Field Value

Property<int, BottomSheet>

BottomBarPropertyDefinition

public static readonly Property<Widget?, BottomSheet> BottomBarPropertyDefinition

Field Value

Property<Widget, BottomSheet>

CanClosePropertyDefinition

public static readonly Property<bool, BottomSheet> CanClosePropertyDefinition

Field Value

Property<bool, BottomSheet>

CanOpenPropertyDefinition

public static readonly Property<bool, BottomSheet> CanOpenPropertyDefinition

Field Value

Property<bool, BottomSheet>

CloseAttemptSignal

Signal Descriptor for OnCloseAttempt.

public static readonly Signal<BottomSheet> CloseAttemptSignal

Field Value

Signal<BottomSheet>

ContentPropertyDefinition

public static readonly Property<Widget?, BottomSheet> ContentPropertyDefinition

Field Value

Property<Widget, BottomSheet>

FullWidthPropertyDefinition

public static readonly Property<bool, BottomSheet> FullWidthPropertyDefinition

Field Value

Property<bool, BottomSheet>

ModalPropertyDefinition

public static readonly Property<bool, BottomSheet> ModalPropertyDefinition

Field Value

Property<bool, BottomSheet>

OpenPropertyDefinition

public static readonly Property<bool, BottomSheet> OpenPropertyDefinition

Field Value

Property<bool, BottomSheet>

SheetHeightPropertyDefinition

public static readonly Property<int, BottomSheet> SheetHeightPropertyDefinition

Field Value

Property<int, BottomSheet>

SheetPropertyDefinition

public static readonly Property<Widget?, BottomSheet> SheetPropertyDefinition

Field Value

Property<Widget, BottomSheet>

ShowDragHandlePropertyDefinition

public static readonly Property<bool, BottomSheet> ShowDragHandlePropertyDefinition

Field Value

Property<bool, BottomSheet>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Align

public float Align { get; set; }

Property Value

float

BottomBar

public Widget? BottomBar { get; set; }

Property Value

Widget

BottomBarHeight

public int BottomBarHeight { get; }

Property Value

int

CanClose

public bool CanClose { get; set; }

Property Value

bool

CanOpen

public bool CanOpen { get; set; }

Property Value

bool

Content

public Widget? Content { get; set; }

Property Value

Widget

FullWidth

public bool FullWidth { get; set; }

Property Value

bool

Modal

public bool Modal { get; set; }

Property Value

bool

Open

public bool Open { get; set; }

Property Value

bool

Sheet

public Widget? Sheet { get; set; }

Property Value

Widget

SheetHeight

public int SheetHeight { get; }

Property Value

int

ShowDragHandle

public bool ShowDragHandle { get; set; }

Property Value

bool

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAlign()

[Version("1.6")]
public float GetAlign()

Returns

float

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBottomBar()

[Version("1.6")]
public Widget? GetBottomBar()

Returns

Widget

GetBottomBarHeight()

[Version("1.6")]
public int GetBottomBarHeight()

Returns

int

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetCanClose()

[Version("1.6")]
public bool GetCanClose()

Returns

bool

GetCanOpen()

[Version("1.6")]
public bool GetCanOpen()

Returns

bool

GetCancelProgress()

public double GetCancelProgress()

Returns

double

GetContent()

[Version("1.6")]
public Widget? GetContent()

Returns

Widget

GetDistance()

public double GetDistance()

Returns

double

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetFullWidth()

[Version("1.6")]
public bool GetFullWidth()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetModal()

[Version("1.6")]
public bool GetModal()

Returns

bool

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetOpen()

[Version("1.6")]
public bool GetOpen()

Returns

bool

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetProgress()

public double GetProgress()

Returns

double

GetSheet()

[Version("1.6")]
public Widget? GetSheet()

Returns

Widget

GetSheetHeight()

[Version("1.6")]
public int GetSheetHeight()

Returns

int

GetShowDragHandle()

[Version("1.6")]
public bool GetShowDragHandle()

Returns

bool

New()

[Version("1.6")]
public static BottomSheet New()

Returns

BottomSheet

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetAlign(float)

[Version("1.6")]
public void SetAlign(float align)

Parameters

align float

SetBottomBar(Widget?)

[Version("1.6")]
public void SetBottomBar(Widget? bottomBar)

Parameters

bottomBar Widget

SetCanClose(bool)

[Version("1.6")]
public void SetCanClose(bool canClose)

Parameters

canClose bool

SetCanOpen(bool)

[Version("1.6")]
public void SetCanOpen(bool canOpen)

Parameters

canOpen bool

SetContent(Widget?)

[Version("1.6")]
public void SetContent(Widget? content)

Parameters

content Widget

SetFullWidth(bool)

[Version("1.6")]
public void SetFullWidth(bool fullWidth)

Parameters

fullWidth bool

SetModal(bool)

[Version("1.6")]
public void SetModal(bool modal)

Parameters

modal bool

SetOpen(bool)

[Version("1.6")]
public void SetOpen(bool open)

Parameters

open bool

SetSheet(Widget?)

[Version("1.6")]
public void SetSheet(Widget? sheet)

Parameters

sheet Widget

SetShowDragHandle(bool)

[Version("1.6")]
public void SetShowDragHandle(bool showDragHandle)

Parameters

showDragHandle bool

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible

Events

OnCloseAttempt

public event SignalHandler<BottomSheet> OnCloseAttempt

Event Type

SignalHandler<BottomSheet>