Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MonettelliUIKIT Snippets
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>Grid, StackLayout and Frame with no default spaces</Title>
<Author>Daniel Angel Monettelli L.</Author>
<Description>Grid, StackLayout and Frame with no default spaces</Description>
<HelpUrl>
</HelpUrl>
<Shortcut>globaldefaultlayout</Shortcut>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>Value</ID>
<ToolTip>Grid, StackLayout and Frame with no default spaces</ToolTip>
<Function>
</Function>
</Literal>
</Declarations>
<Code Language="XAML">
<![CDATA[<Style TargetType="Grid">
<Setter Property="RowSpacing" Value="0" />
<Setter Property="ColumnSpacing" Value="0" />
</Style>
<Style TargetType="StackLayout">
<Setter Property="Spacing" Value="0" />
</Style>
<Style TargetType="Frame">
<Setter Property="Padding" Value="0" />
</Style>$end$]]>
</Code>
</Snippet>
</CodeSnippet>
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>Ellipsis on all labels</Title>
<Author>Daniel Angel Monettelli L.</Author>
<Description>Ellipsis on all labels</Description>
<HelpUrl>
</HelpUrl>
<Shortcut>globaltailtruncation</Shortcut>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>Value</ID>
<ToolTip>Ellipsis on all labels</ToolTip>
<Function>
</Function>
</Literal>
</Declarations>
<Code Language="XAML">
<![CDATA[<Style TargetType="Label">
<Setter Property="LineBreakMode" Value="TailTruncation" />
</Style>$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment