Dear Zarko,
Appreciate your reply indeed, it realy helped me a lot, I am still facing some diffeculties binding ICommand inside DataTemplete
simply the command not fired !!
I have this binding in radtoolbar inside the large content of the fluidcontentcontrol as follows:
<
telerik:RadFluidContentControl.LargeContent
>
<
Grid
>
<
StackPanel
>
<
telerik:RadToolBar
x:Name
=
"AccountActionstb"
>
<
telerik:RadToolBar.Items
>
<
Button
Command
=
"{Binding EditCommand}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Width
=
"16"
Height
=
"16"
Source="
/Assets/Icons/New.png"
ToolTipService.ToolTip
=
"Refresh List"
/>
<
TextBlock
Text
=
"Refresh"
Margin
=
"1,0,1,0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
Button
>
<
Button
Command
=
"{Binding NewCommand}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Width
=
"16"
Height
=
"16"
Source
/Assets/Icons/New.png"
ToolTipService.ToolTip
=
"New Sheet"
/>
<
TextBlock
Text
=
"New"
Margin
=
"1,0,1,0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
Button
>
<
Button
Command
=
"{Binding SaveRecordCommand}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Width
=
"16"
Height
=
"16"
Source
=
"/Assets/Icons/Save.png"
ToolTipService.ToolTip
=
"Save Record"
/>
<
TextBlock
Text
=
"Save"
Margin
=
"1,0,1,0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
Button
>
<
telerik:RadToolBarSeparator
/>
<
Button
Command
=
"{Binding DeleteCommand}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Width
=
"16"
Height
=
"16"
Source
=
"/Assets/Icons/Delete.png"
ToolTipService.ToolTip
=
"Delete selected Record(s)"
/>
<
TextBlock
Text
=
"Delete"
Margin
=
"1,0,1,0"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
Button
>
</
telerik:RadToolBar.Items
>
</
telerik:RadToolBar
>
How can this be resolved !!
-----------------------------------------------------------------------------
EDITED:
Also how can you apply the proposed style using FluidContentControl ??
Regards
Waleed