You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new syntax for child elements using constructors: new Element(new Child(), "text") (closer resembles LINQ to XML; Children property should still be used in complex multi-line cases with other properties).
Added new syntax for attached properties: new Element { Values = { Foo.Bar == 1 } }.
Added new syntax in fluent mode (requires using Alba.CsConsoleFormat.Fluent):
Properties with unique enums: new Element { Values = { DockTo.Left } }.
Color and Background properties: new Element { Values = { White } } and new Element { Values = { White.On(Black) } }.
GridLength extension methods for integers: 1.Star() and 2.Char().
ConsoleTest project now includes new sample usage of all fluent syntax.
Changes
API changes:
Renamed Canvas element to Absolute (closer resembles CSS concepts; also less confusing for Delphi users with their TCanvas, if any still exist).
Renamed Render method to RenderOverride (consistency and enforcing bypass if Visibility is Collapsed).
Changed ValuesInitializer collection initializer to be extensible through extension methods in separate assemblies.
Added EditorBrowsableState.Advanced to converters, Value-related classes and classes with extension methods.