Tags: MaterialDesignInXAML/MaterialDesignInXamlToolkit
Tags
Add default style for StatusBar control (#4020) * Initial plan * Add StatusBar style, brushes, and demo page - Create MaterialDesignTheme.StatusBar.xaml with StatusBar, StatusBarItem, and Separator styles - Add StatusBar brushes to ThemeColors.json and auto-generated theme files - Register in MaterialDesign2.Defaults.xaml and MaterialDesign3.Defaults.xaml - Add StatusBar demo page to MainDemo.Wpf Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com> * Remove hard-coded FontSize from StatusBar style to inherit from theme Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com> * Consolidate Separator styles and remove redundant StatusBar separator brush Centralizes the MaterialDesignSeparator style into a new resource dictionary and replaces the specific StatusBar.Separator brush with the general separator background brush. This refactor simplifies the theme definitions and ensures consistent separator styling across the StatusBar, Menu, and PopupBox components. The change also updates the StatusBar demo with colored icons and explicit heights to better showcase the UI. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Keboo <952248+Keboo@users.noreply.github.com> Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
Fix horizontal ScrollBar placement for multi-line TextBox (#3934) * Add simple issue repro to Home page * WIP on fix. Scroll position is now synced correctly, but the visibility property still needs to be respected properly. * TextBox.HorizontalScrollBarVisibility is now respected * Add null guards and possibly not-needed method SizeChanged() invoke * Remove not needed invocation and null forgiving operators * Place custom scrollbar correctly using converters * Cleanup * Take hover/focus state into account + ignore margins on hidden elements * Only consider hover/focus when style is outlined * Removing simple repro from Home page * Update demo app with TextBox.TextWrapping option on Field page * Fix initial state of custom ScrollBar * Renames property for clarity. Renames `isOutlinedStyle` to `hasOutlinedTextField` in `TextBoxHorizontalScrollBarMarginConverter` for better clarity and consistency. * Improves UI test reliability Adds retry logic to clear button click in date picker test; captures a screenshot of the split button popup during UI test. * Moved converters into "internal" namespace * Moved behavior into new "internals" namespace for behaviors --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
[SmartHint] Hint placement for "readonly" controls (#3764) * Demo app workaround/hack for initial miscalculation of hint placement * Ensure ComboBox smart hint behaves according to MD spec According to the "Behavior" section of the "Menus" page in the link below, the hint should float even when there is no selection, but the popup is open. https://m2.material.io/components/menus#exposed-dropdown-menu * Fix hint positioning issue when "readonly" element The issue was present for all controls once they are in "readonly" state. Special handling of the case where the element is readonly, and the hint should follow the prefix/suffix needed to be added because of the "business rule" that prefix/suffix is always visible when the element is "readonly". * Fixing so the hack is no longer needed * Fix AutoSuggestBox as well --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
Grammatical fixes to App.xaml (#3468) Reformatted comment lines to adhere to correct English grammar: - Included some colons - Changed 'setup' (a noun) to 'set up' (a verb) - 'built-in' is hyphenated - 'as well' is not needed when existing sentence has the word 'also'
Fix PasswordBox keyboard focus traversal issue (#3096) * Extend SmartHint demo page with new features * Handle forward/backward keyboard focus on reveal style PasswordBox * Add UI test to verify tabbing works * Fix issue with backwards focus traversal when hiding a revealed password * Update UI test with syntax feature which is hopefully added to XAMLTest * Rev'ing XAMLTest --------- Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
PreviousNext