Skip to content

Instantly share code, notes, and snippets.

View s-fernandez-v's full-sized avatar

Sergio Fernandez s-fernandez-v

View GitHub Profile
@s-fernandez-v
s-fernandez-v / Main.xaml
Last active November 3, 2022 12:13 — forked from jesusdesantos/Main.xaml
Right-to-left Image
<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Orientation="Horizontal" VerticalAlignment="Center" FlowDirection="RightToLeft">
<Border BorderBrush="OrangeRed" BorderThickness="2" Margin="5">
<Image Source="Road.jpg" Height="300"/>
</Border>
<Border BorderBrush="Gold" BorderThickness="2" Margin="5">
<Image Source="Road.jpg" Height="300" FlowDirection="RightToLeft"/>
</Border>
</StackPanel>
@s-fernandez-v
s-fernandez-v / Main.xaml
Last active June 29, 2022 21:38 — forked from stevenhartin/Main.xaml
VisualBrush with rotating content
<Grid
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid.Resources>
<VisualBrush x:Key="wdgBrush" Visual="{Binding ElementName=wdg}"/>
<ControlTemplate x:Key="Loading_Circle01">
<Viewbox>
<Canvas Name="Document" Width="93.9801" Height="93.9807">
<Canvas Name="Layer_1" Width="800.173" Height="600.134" Canvas.Left="0" Canvas.Top="0">
<Path Data="F1M92.9493,56.7723C93.62,53.615 93.98,50.3443 93.98,46.9896 93.98,44.3109 93.744,41.6883 93.3107,39.131L88.0533,40.0216C88.436,42.291 88.6467,44.615 88.6467,46.9896 88.6467,49.9643 88.328,52.8616 87.7334,55.6617L92.9493,56.7723z" Stretch="Fill" Fill="#FFE4E4E4" Name="Path" Width="6.24664" Height="17.6414" Canvas.Left="87.7334" Canvas.Top="39.131" />