Class BottomSheet
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class BottomSheet : Widget, Swipeable, Accessible, Buildable, ConstraintTarget, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
BottomSheet
- Implements
- Inherited Members
Constructors
BottomSheet(BottomSheetHandle)
public BottomSheet(BottomSheetHandle handle)
Parameters
handleBottomSheetHandle
BottomSheet(params ConstructArgument[])
public BottomSheet(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Fields
AlignPropertyDefinition
public static readonly Property<float, BottomSheet> AlignPropertyDefinition
Field Value
BottomBarHeightPropertyDefinition
public static readonly Property<int, BottomSheet> BottomBarHeightPropertyDefinition
Field Value
BottomBarPropertyDefinition
public static readonly Property<Widget?, BottomSheet> BottomBarPropertyDefinition
Field Value
CanClosePropertyDefinition
public static readonly Property<bool, BottomSheet> CanClosePropertyDefinition
Field Value
CanOpenPropertyDefinition
public static readonly Property<bool, BottomSheet> CanOpenPropertyDefinition
Field Value
CloseAttemptSignal
Signal Descriptor for OnCloseAttempt.
public static readonly Signal<BottomSheet> CloseAttemptSignal
Field Value
ContentPropertyDefinition
public static readonly Property<Widget?, BottomSheet> ContentPropertyDefinition
Field Value
FullWidthPropertyDefinition
public static readonly Property<bool, BottomSheet> FullWidthPropertyDefinition
Field Value
ModalPropertyDefinition
public static readonly Property<bool, BottomSheet> ModalPropertyDefinition
Field Value
OpenPropertyDefinition
public static readonly Property<bool, BottomSheet> OpenPropertyDefinition
Field Value
SheetHeightPropertyDefinition
public static readonly Property<int, BottomSheet> SheetHeightPropertyDefinition
Field Value
SheetPropertyDefinition
public static readonly Property<Widget?, BottomSheet> SheetPropertyDefinition
Field Value
ShowDragHandlePropertyDefinition
public static readonly Property<bool, BottomSheet> ShowDragHandlePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Align
public float Align { get; set; }
Property Value
BottomBar
public Widget? BottomBar { get; set; }
Property Value
BottomBarHeight
public int BottomBarHeight { get; }
Property Value
CanClose
public bool CanClose { get; set; }
Property Value
CanOpen
public bool CanOpen { get; set; }
Property Value
Content
public Widget? Content { get; set; }
Property Value
FullWidth
public bool FullWidth { get; set; }
Property Value
Modal
public bool Modal { get; set; }
Property Value
Open
public bool Open { get; set; }
Property Value
Sheet
public Widget? Sheet { get; set; }
Property Value
SheetHeight
public int SheetHeight { get; }
Property Value
ShowDragHandle
public bool ShowDragHandle { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
messagestringpriorityAccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAlign()
[Version("1.6")]
public float GetAlign()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBottomBar()
[Version("1.6")]
public Widget? GetBottomBar()
Returns
GetBottomBarHeight()
[Version("1.6")]
public int GetBottomBarHeight()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCanClose()
[Version("1.6")]
public bool GetCanClose()
Returns
GetCanOpen()
[Version("1.6")]
public bool GetCanOpen()
Returns
GetCancelProgress()
public double GetCancelProgress()
Returns
GetContent()
[Version("1.6")]
public Widget? GetContent()
Returns
GetDistance()
public double GetDistance()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetFullWidth()
[Version("1.6")]
public bool GetFullWidth()
Returns
GetGType()
public static Type GetGType()
Returns
GetModal()
[Version("1.6")]
public bool GetModal()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetOpen()
[Version("1.6")]
public bool GetOpen()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
stateAccessiblePlatformState
Returns
GetProgress()
public double GetProgress()
Returns
GetSheet()
[Version("1.6")]
public Widget? GetSheet()
Returns
GetSheetHeight()
[Version("1.6")]
public int GetSheetHeight()
Returns
GetShowDragHandle()
[Version("1.6")]
public bool GetShowDragHandle()
Returns
New()
[Version("1.6")]
public static BottomSheet New()
Returns
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
propertyAccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relationAccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
stateAccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parentAccessiblenextSiblingAccessible
SetAlign(float)
[Version("1.6")]
public void SetAlign(float align)
Parameters
alignfloat
SetBottomBar(Widget?)
[Version("1.6")]
public void SetBottomBar(Widget? bottomBar)
Parameters
bottomBarWidget
SetCanClose(bool)
[Version("1.6")]
public void SetCanClose(bool canClose)
Parameters
canClosebool
SetCanOpen(bool)
[Version("1.6")]
public void SetCanOpen(bool canOpen)
Parameters
canOpenbool
SetContent(Widget?)
[Version("1.6")]
public void SetContent(Widget? content)
Parameters
contentWidget
SetFullWidth(bool)
[Version("1.6")]
public void SetFullWidth(bool fullWidth)
Parameters
fullWidthbool
SetModal(bool)
[Version("1.6")]
public void SetModal(bool modal)
Parameters
modalbool
SetOpen(bool)
[Version("1.6")]
public void SetOpen(bool open)
Parameters
openbool
SetSheet(Widget?)
[Version("1.6")]
public void SetSheet(Widget? sheet)
Parameters
sheetWidget
SetShowDragHandle(bool)
[Version("1.6")]
public void SetShowDragHandle(bool showDragHandle)
Parameters
showDragHandlebool
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSiblingAccessible
Events
OnCloseAttempt
public event SignalHandler<BottomSheet> OnCloseAttempt