Skip to content

Commit 477871c

Browse files
Add style#, edit style
1 parent 5082f96 commit 477871c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Xammet.snippet

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,28 @@
736736
<Description>&lt;Style&gt;</Description>
737737
<Shortcut>style</Shortcut>
738738
</Header>
739+
<Snippet>
740+
<Declarations>
741+
<Literal Editable="true">
742+
<ID>Value1</ID>
743+
<Default>Button</Default>
744+
</Literal>
745+
</Declarations>
746+
<Code Language="XAML">
747+
<![CDATA[<Style TargetType="$Value1$">$end$</Style>]]>
748+
</Code>
749+
</Snippet>
750+
</CodeSnippet>
751+
752+
<CodeSnippet Format="1.0.0">
753+
<Header>
754+
<SnippetTypes>
755+
<SnippetType>Expansion</SnippetType>
756+
</SnippetTypes>
757+
<Title>Style x:Key</Title>
758+
<Description>&lt;Style x:Key ...</Description>
759+
<Shortcut>style#</Shortcut>
760+
</Header>
739761
<Snippet>
740762
<Declarations>
741763
<Literal Editable="true">

0 commit comments

Comments
 (0)