Class SimpleDialogTitleView
Represents a simple dialog title view with a title label and a close button.
public class SimpleDialogTitleView : SimpleToolBarView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IRaiseSystemColorsChanged
- Inheritance
-
SimpleDialogTitleView
- Implements
Constructors
- SimpleDialogTitleView()
Initializes a new instance of the SimpleDialogTitleView class.
- SimpleDialogTitleView(View?)
Initializes a new instance of the SimpleDialogTitleView class with an optional owner.
Fields
- DefaultTitleMargin
Gets or sets the default margin for the title. Default is 0.
Properties
- CloseButton
Gets the toolbar item that represents the "Close" button.
- GearButton
Gets the toolbar item that represents the "Gear" button.
- HasCloseButton
Gets or sets a value indicating whether the close button is visible.
- NeedCloseButton
Gets a value indicating whether a close button is required.
- Owner
Gets the parent view that owns this view.
- Title
Gets or sets the title of the dialog.
Methods
- AddCloseButton()
Adds a "Close" button to the dialog title.
- AddGearButton()
Adds a "Gear" button to the collection of buttons, typically used for displaying options or settings.
Events
- CloseClicked
Occurs when the "Close" button is clicked.
- GearButtonClicked
Occurs when the "Gear" button is clicked.