Click here to Skip to main content
15,909,896 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF Browser Application Error - System.ArgumentException: Value does not fall within the expected range. Pin
Polymorpher3-May-10 14:38
Polymorpher3-May-10 14:38 
AnswerRe: WPF Browser Application Error - System.ArgumentException: Value does not fall within the expected range. Pin
prabhu_thil23-Nov-10 7:16
prabhu_thil23-Nov-10 7:16 
QuestionWriteableBitmap problem Pin
#realJSOP3-May-10 2:54
professional#realJSOP3-May-10 2:54 
AnswerRe: WriteableBitmap problem Pin
Rama Krishna Vavilala3-May-10 4:34
Rama Krishna Vavilala3-May-10 4:34 
GeneralRe: WriteableBitmap problem Pin
#realJSOP3-May-10 5:06
professional#realJSOP3-May-10 5:06 
AnswerRe: WriteableBitmap problem Pin
42774803-May-10 10:27
42774803-May-10 10:27 
GeneralRe: WriteableBitmap problem Pin
42774803-May-10 11:11
42774803-May-10 11:11 
GeneralRe: WriteableBitmap problem Pin
Tim Yen3-May-10 14:57
Tim Yen3-May-10 14:57 
AnswerRe: WriteableBitmap problem Pin
#realJSOP4-May-10 7:54
professional#realJSOP4-May-10 7:54 
QuestionRTF Encoding Pin
Adriaan Davel3-May-10 2:09
Adriaan Davel3-May-10 2:09 
AnswerRe: RTF Encoding Pin
Abhinav S3-May-10 5:13
Abhinav S3-May-10 5:13 
GeneralRe: RTF Encoding Pin
Adriaan Davel3-May-10 18:56
Adriaan Davel3-May-10 18:56 
QuestionEvent calendar Pin
Peace ON3-May-10 0:53
Peace ON3-May-10 0:53 
AnswerRe: Event calendar Pin
Abhinav S3-May-10 5:09
Abhinav S3-May-10 5:09 
AnswerRe: Event calendar Pin
Peace ON3-May-10 21:18
Peace ON3-May-10 21:18 
QuestionWPF: Context-menu for Row and Header of DataGrid Pin
Prasoon Chaudhary2-May-10 20:34
Prasoon Chaudhary2-May-10 20:34 
AnswerRe: WPF: Context-menu for Row and Header of DataGrid Pin
Prasoon Chaudhary2-May-10 21:22
Prasoon Chaudhary2-May-10 21:22 
I think, I've got the answer.

<!--ContextMenu Definition-->
		<ContextMenu  x:Key="cm_rowMenu">
                        <!--ContextMenu For Row-->
		</ContextMenu>
		
		<ContextMenu  x:Key="cm_columnHeaderMenu">
			 <!--ContextMenu For Header-->
		</ContextMenu>
<!--ContextMenu Definition Ends-->

<!--Default Header Style-->
		<Style x:Key="DefaultColumnHeaderStyle" TargetType="{x:Type Custom:DataGridColumnHeader}">
		    <Setter Property="ContextMenu" Value="{StaticResource cm_columnHeaderMenu}" />			
		</Style> 

<!--Default Row Style-->
                <Style x:Key="DefaultRowStyle" TargetType="{x:Type Custom:DataGridRow}">             			
			<Setter Property="ContextMenu" Value="{StaticResource cm_rowMenu}" />
                </Style>

<!--Setting styles for DataGrid-->
                <Custom:DataGrid 
			RowStyle="{StaticResource DefaultRowStyle}"
			ColumnHeaderStyle="{StaticResource DefaultColumnHeaderStyle}"/>

GeneralRe: WPF: Context-menu for Row and Header of DataGrid Pin
Pete O'Hanlon3-May-10 2:41
mvePete O'Hanlon3-May-10 2:41 
QuestionCustom SelectedItem in ListView Pin
Saksida Bojan1-May-10 9:30
Saksida Bojan1-May-10 9:30 
AnswerRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 9:45
mvePete O'Hanlon1-May-10 9:45 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 10:39
Saksida Bojan1-May-10 10:39 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 10:40
mvePete O'Hanlon1-May-10 10:40 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 10:59
Saksida Bojan1-May-10 10:59 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 11:22
mvePete O'Hanlon1-May-10 11:22 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 19:00
Saksida Bojan1-May-10 19:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.