Click here to Skip to main content
15,891,607 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 20:22
mvePete O'Hanlon1-May-10 20:22 
QuestionLearning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Duke Carey30-Apr-10 8:26
professionalDuke Carey30-Apr-10 8:26 
AnswerRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Pete O'Hanlon1-May-10 9:50
mvePete O'Hanlon1-May-10 9:50 
GeneralRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Duke Carey3-May-10 0:58
professionalDuke Carey3-May-10 0:58 
GeneralRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Pete O'Hanlon3-May-10 2:45
mvePete O'Hanlon3-May-10 2:45 
QuestionProblem while animating Web browser Control Pin
hassan_wahpk130-Apr-10 2:20
hassan_wahpk130-Apr-10 2:20 
AnswerRe: Problem while animating Web browser Control Pin
Abhinav S30-Apr-10 5:29
Abhinav S30-Apr-10 5:29 
GeneralRe: Problem while animating Web browser Control Pin
hassan_wahpk12-May-10 18:24
hassan_wahpk12-May-10 18:24 
QuestionCreate Image Programtically Pin
#realJSOP29-Apr-10 9:37
mve#realJSOP29-Apr-10 9:37 

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.