Skip to content

Commit

Permalink
Merge pull request #375 from workgroupengineering/features/Intellisen…
Browse files Browse the repository at this point in the history
…se/Boolean_Directive

feat: Add support {x:True} and {x:False}
  • Loading branch information
maxkatz6 authored Aug 25, 2023
2 parents 96542c0 + ed0401b commit b25179d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,16 @@ private static void PreProcessTypes(Dictionary<string, MetadataType> types, Meta
IsXamlDirective = true,
Properties = { new MetadataProperty("", boolType,null, false, false, false, true)},
},
new MetadataType("True")
{
HasSetProperties = true,
IsMarkupExtension = true,
},
new MetadataType("False")
{
HasSetProperties = true,
IsMarkupExtension = true,
},
};

//as in avalonia 0.9 Portablexaml is missing we need to hardcode some extensions
Expand Down

0 comments on commit b25179d

Please sign in to comment.