-
Notifications
You must be signed in to change notification settings - Fork 81
DatePicker
appleneko2001 edited this page Dec 21, 2021
·
2 revisions
Warning: You have to install an package named
Material.Dialog
to your project for use this widget / feature.
DatePicker is a dialog, represents feature of picking date. This feature are ready for use since commit-096b5542e63e15296463cc9feba70df0f980e99d.
// Create DatePicker dialog instance
var dialog = DialogHelper.CreateDatePicker(new DateTimePickerDialogBuilderParams()
{
Borderless = true,
ImplicitValue = DateTime.Now,
StartupLocation = WindowStartupLocation.CenterOwner,
PositiveButton = new DialogResultButton()
{
Content = "CONFIRM",
Result = "confirm",
}
});
// Show DatePicker and await result
var result = dialog.ShowDialog(window);
Console.WriteLine(result.GetDate());
Material.Avalonia Wiki pages is still WIP (work in progress), Pages could not ready for show if they unclickable.
Main section
- Main page
- Getting started
- Screenshots of Demo
- FAQ (frequently asked questions)
- Breaking changes
- Nightly builds
Widgets / Controls
- Buttons
- Inputs
- TextBox
- Switchable
- CheckBox
- RadioButton
- ToggleButton
- ToggleSwitch
- Selectable
- ListBox
- ComboBox
- Pickers
- Feedbacks
- ProgressBar
- Snackbar
- Dialogs
- AlertDialog
- TextFieldDialog
- CustomDialog
- Containers / Layouts
- ColorZone
- Card
- Expander
- DataGrid
Theming
Builders
Assist for widgets
- ButtonAssist
- SelectionControlAssist
- ShadowAssist
- SliderAssist
- TextFieldAssist
- TransitionAssist