Custom Controls:
public class CustomGridView : RadGridView
{
public CustomGridView()
{
}
}
public class RadGridViewCommands
{
}
<
framework:CustomGridView
x:Name
=
"gvCustomerOrder"
ItemsSource
=
"{Binding Orders}"
CanUserDeleteRows
=
"{Binding IsChecked, Mode=TwoWay, ElementName=CanUserDeleteRowsCheckBox}"
IsReadOnly
=
"{Binding IsChecked, Mode=TwoWay, ElementName=IsReadOnlyCheckBox}"
SelectionMode
=
"Extended"
VerticalAlignment
=
"Stretch"
AutoGenerateColumns
=
"False"
>
<
framework:CustomGridView.Columns
>
<
framework:CustomGridViewToggleRowDetailsColumn
/>
<
framework:CustomGridViewSelectColumn
x:Name
=
"gvcSelect"
/>
<
framework:CustomGridViewDataColumn
DataMemberBinding
=
"{Binding Name"
Header
=
"S.no"
/>
</
framework:RTPOGridView.Columns
>
</
framework:RTPOGridView
>
<
Button
Content
=
" Delete"
Style
=
"{StaticResource GreyButtonStyle}"
Command
=
"framework:RadGridViewCommands.Delete"
CommandTarget
=
"{Binding ElementName=gvCustomerOrder}"
/>
But In Run Time it gives an Error:
'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '141' and line position '60'
I have a menu with vertical orientation, when I use mouse to navigate in the menu I have no problem. But if I open a menu that has a submenu (Accounting in this example) with a short cut key (Alt+A) I have difficulties when using Down Arrow key to navigate to the next menu item inside the submenu popup.
This is not an accepted behaviour. I have noticed that if I leave my mouse pointer in the place that the submenu popup opens and open the menu with a shortcut key there won't be any problem using Down Arrow key to move down inside the popup.
<
Grid
>
<
telerik:RadMenu
HorizontalAlignment
=
"Left"
x:Name
=
"ModulesMenu"
Orientation
=
"Vertical"
Margin
=
"12,12,0,50"
IconColumnWidth
=
"0"
Width
=
"95"
>
<
telerik:RadMenuItem
Header
=
"_Overdue"
/>
<
telerik:RadMenuItem
Header
=
"Search _Public"
/>
<
telerik:RadMenuItem
x:Name
=
"mnuICBC"
Header
=
"_ICBC Batching"
>
<
telerik:RadMenuItem
Header
=
"Autolink Web Page"
/>
<
telerik:RadMenuItem
Header
=
"WEIS/Autolink Sync"
/>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
x:Name
=
"mnuAccounting"
Header
=
"_Accounting"
>
<
telerik:RadMenuItem
x:Name
=
"mnuVend"
Header
=
"Accounts Payable"
/>
<
telerik:RadMenuItem
x:Name
=
"mnuCust"
Header
=
"Accounts Receivable"
/>
<
telerik:RadMenuItem
x:Name
=
"mnuCact"
Header
=
"Chart of Accounts"
/>
<
telerik:RadMenuItem
x:Name
=
"mnuComp"
Header
=
"General Ledger"
/>
<
telerik:RadMenuItem
x:Name
=
"mnuFtxn"
Header
=
"Business Transactions to G/L"
/>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
x:Name
=
"mnuAdmin"
Header
=
"Ad_min"
>
<
telerik:RadMenuItem
Header
=
"System"
/>
<
telerik:RadMenuItem
Header
=
"Suppliers & Products"
/>
</
telerik:RadMenuItem
>
</
telerik:RadMenu
>
</
Grid
>
Hello All;
I am using DatePicker Control of WPF ToolKit3.5(that i have
downloaded from Codeplex.com) Sp1 in My MVVM application
so can any one tell me that how can i access the selected value of
datetime picker in ViewModel.cs file
please help,
thanks
I am using a TCP/IP protocol to connect to the Device(Video) and render the Video onto WPF application. The frame rate from the device is around 3 - 4 Frames/Second . I also understand that the lower frame rate could also be the possible reason for flicker but when i run my C++ application and try to render the video its flicker free (even though there is some latency).
Please suggest on this ....