or
<
telerik:GridViewColumn
Header
=
"{x:Static commonResources:CommonResources.ActionColumn}"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
bc:RadGridViewActionButton
NormalImage
=
"../Images/dgy_040_edit_normal.png"
MouseOverImage
=
"../Images/bk_040_edit_normal.png"
Visibility
=
"{Binding Path=DataContext.IsModifySupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
ToolTip
=
"{Binding Path=DataContext.ModifyCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
Command
=
"{Binding Path=DataContext.ModifyCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
/>
<
bc:RadGridViewActionButton
NormalImage
=
"../Images/dgy_200_details_normal.png"
MouseOverImage
=
"../Images/bk_200_details_normal.png"
Visibility
=
"{Binding Path=DataContext.IsViewSupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
ToolTip
=
"{Binding Path=DataContext.DetailsCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
Command
=
"{Binding Path=DataContext.DetailsCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
/>
<
bc:RadGridViewActionButton
NormalImage
=
"../Images/dgy_030_delete_normal.png"
MouseOverImage
=
"../Images/bk_030_delete_normal.png"
Visibility
=
"{Binding Path=DataContext.IsDeleteSupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
ToolTip
=
"{Binding Path=DataContext.DeleteCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
Command
=
"{Binding Path=DataContext.DeleteCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
/>
<
bc:RadGridViewActionButton
NormalImage
=
"../Images/dgy_028_copy_normal.png"
MouseOverImage
=
"../Images/bk_028_copy_normal.png"
Visibility
=
"{Binding Path=DataContext.IsCopySupported, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}, Converter={StaticResource BooleanToVisibilityConverter}}"
ToolTip
=
"{Binding Path=DataContext.CopyCommandToolTip, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
Command
=
"{Binding Path=DataContext.CopyCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
01.
<
telerik:RadMenu
Grid.Row
=
"2"
Grid.Column
=
"1"
Width
=
"40"
HorizontalAlignment
=
"Right"
Background
=
"Transparent"
ClickToOpen
=
"True"
>
02.
<
telerik:RadMenuItem
Header
=
""
Width
=
"40"
Height
=
"40"
ToolTip
=
"Settings"
>
03.
<
telerik:RadMenuItem.Icon
>
04.
<
Image
x:Name
=
"btnSetting"
Source
=
"Resources/setting.png"
Stretch
=
"UniformToFill"
>
05.
</
Image
>
06.
</
telerik:RadMenuItem.Icon
>
07.
<
Trigger
Property
=
"IsMouseOver"
Value
=
"true"
>
08.
<
Setter
TargetName
=
"btnSetting"
Property
=
"Source"
Value
=
"Resources/setting-hover.png"
></
Setter
>
09.
</
Trigger
>
10.
</
telerik:RadMenuItem
>
11.
</
telerik:RadMenu
>