csharp
public sealed class DrawerA panel that slides in from an edge.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A dialog attached to a side rather than centred, and the difference that matters is not the animation: a drawer is for a secondary surface — a filter panel, a details pane — that the user may want to leave open while they work, so light dismiss is on here and off on a dialog.
Fields and properties (6)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
public UiElement BackdropThe sheet behind it.
public UiElement SurfaceThe panel itself.
public UiElement BodyWhere the content goes.
public DrawerSide Sidepublic static readonly UiPropertyKey SidePropertyIdentity for Side.
Methods (2)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void ClearSide()Unsets Side, so it takes its default or its ancestor's value again.
Used by (2)
- OverlayInteractionTestsVixen.Ui.Controls.Tests
- SurfaceTestsVixen.Ui.Controls.Tests