|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid x:Key="ResizableAdorner" x:Shared="False">
<Grid.Resources>
<Style TargetType="{x:Type Thumb}"
BasedOn="{StaticResource {x:Type Thumb}}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}">
<Grid Background="Transparent" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="4" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="4" />
<RowDefinition Height="*" />
<RowDefinition Height="4" />
</Grid.RowDefinitions>
<Thumb Tag="PART_SIZE_TOP_LEFT"
Cursor="SizeNWSE"
Grid.Column="0"
Grid.Row="0">
</Thumb>
<Thumb Tag="PART_SIZE_TOP"
Cursor="SizeNS"
Grid.Column="1"
Grid.Row="0">
</Thumb>
<Thumb Tag="PART_SIZE_TOP_RIGHT"
Cursor="SizeNESW"
Grid.Column="2"
Grid.Row="0">
</Thumb>
<Thumb Tag="PART_SIZE_LEFT"
Cursor="SizeWE"
Grid.Column="0"
Grid.Row="1">
</Thumb>
<Thumb Tag="PART_SIZE_RIGHT"
Cursor="SizeWE"
Grid.Column="2"
Grid.Row="1">
</Thumb>
<Thumb Tag="PART_SIZE_BOTTOM_LEFT"
Cursor="SizeNESW"
Grid.Column="0"
Grid.Row="2">
</Thumb>
<Thumb Tag="PART_SIZE_BOTTOM"
Cursor="SizeNS"
Grid.Column="1"
Grid.Row="2">
</Thumb>
<Thumb Tag="PART_SIZE_BOTTOM_RIGHT"
Cursor="SizeNWSE"
Grid.Column="2"
Grid.Row="2">
</Thumb>
</Grid>
</ResourceDictionary>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Ashish worked for Microsoft for a number of years in Microsoft Visual Studio (Architect edition) and Windows Live division as a developer. Before that he was a developer consultant mainly involved in distributed service development / architecture. His main interests are distributed software architecture, patterns and practices and mobile device development.
Currently Ashish serves as a Technical Lead at RIM leading next generation BlackBerry media experience and also runs his own company MixModes Inc. specializing in .NET / WPF / Silverlight technologies. You can visit MixModes at http://mixmodes.com or follow it on Twitter @MixModes
In his free time he is an avid painter, hockey player and enjoys travelling. His blog is at: http://ashishkaila.serveblog.net