Feature/valueconverters#193
Merged
Merged
Conversation
…nsion
- Add EnumParameterMatcher accepting Enum, string, comma-list, or IEnumerable
- Extend EnumToVisibility{Visible,Collapsed}ValueConverter to delegate to it
- Add EnumValuesExtension markup extension for type-safe enum arrays in XAML
- Add ConnectionStateToColor/Brush/Text converters with per-state overrides - Color converter is source of truth; brush converter caches and rebuilds - Sample pages let user edit each color via ColorPicker (entry-VM pattern)
- Color converters expose Default* + mutable static props + Set/Get/Reset - Brush converters derive from color via cache that rebuilds on change - Add sample pages with editable ColorPicker per state - Remove empty ValueConvertersView placeholder from sample tree
…hapes - Add table of contents - New "Advanced parameter shapes" section with examples for Enum->Visibility multi-value, Double->GridLength, Bool->Width, Thickness side selection, Regex validation, EnumDescription case formatter, MultiBinding window buttons, and LogLevel/LogCategoryType palette overrides
…erters - Add BindingFallbacks central Color/Brush sentinel for binding failures - Add BoolTo: BoolToOpacity, BoolToInverseOpacity, BoolToObject - Add EnumTo: EnumToBool, EnumToInverseBool, EnumFlagsToBool/Visibility(Collapsed|Visible) - Add NumberTo: NumberToFileSizeString, NumberToPercentString, NumericComparisonToVisibility(Collapsed|Visible) - Add ObjectTo: ObjectToTypeNameValueConverter - Add StringTo: PathToFilename, StringEqualsToBool - Add TimeTo: DateTimeToRelativeString, TimeSpanToHumanReadableString - LogLevel/LogCategoryType color converters delegate fallback to BindingFallbacks - Tighten remarks/cref docs on IsNull/IsNotNull, MethodToValueConverter, RectangleCircular, BackgroundToForeground, ColorToBrush, BrushToColor, ColorToSolidColor, ColorName converters
Apply roadmap I-series polish across all libraries: - I-1: documentation refinements (remarks, cref links, examples) - I-2: canonical NotSupportedException message "This is a OneWay converter." - Add missing [ValueConversion] attributes - Ensure public static Instance fields where appropriate Touches Atc.Wpf.Components, Atc.Wpf.Controls, Atc.Wpf.FontIcons, Atc.Wpf.Forms, Atc.Wpf.Hardware, Atc.Wpf.Network, Atc.Wpf.Theming.
- Cover new core converters: BindingFallbacks, BoolToOpacity/Object, EnumTo + EnumFlagsTo, NumberToFileSize/Percent, NumericComparisonToVisibility, ObjectToTypeName, PathToFilename, StringEqualsToBool, DateTimeToRelative, TimeSpanToHumanReadable, TreeViewMargin - Add missing tests for existing converters: BoolToTextWrapping, PausedToGlyph, BoolToPopoverTriggerMode, ZoomMiniMapClamp, FontIcon drawing/image source - Extend ConnectionState, LogLevel, LogCategoryType, ColorName, ColorTo*, BrushToColor, Background, BoolToWidth tests for palette + fallback behaviors - Wire global usings for new namespaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.