Click here to Skip to main content
15,900,907 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Canvas or Grid inside Viewport3D? Pin
sivaddrahcir20-Apr-09 8:17
sivaddrahcir20-Apr-09 8:17 
QuestionReading a XML file from IsolatedStorage ? [modified] Pin
Mohammad Dayyan13-Apr-09 18:00
Mohammad Dayyan13-Apr-09 18:00 
QuestionRe: Reading a XML file from IsolatedStorage ? Pin
Mark Salsbery13-Apr-09 20:08
Mark Salsbery13-Apr-09 20:08 
AnswerRe: Reading a XML file from IsolatedStorage ? Pin
Mohammad Dayyan13-Apr-09 21:53
Mohammad Dayyan13-Apr-09 21:53 
AnswerRe: Reading a XML file from IsolatedStorage ? Pin
Mohammad Dayyan13-Apr-09 22:34
Mohammad Dayyan13-Apr-09 22:34 
QuestionRe: Reading a XML file from IsolatedStorage ? Pin
Mark Salsbery14-Apr-09 6:24
Mark Salsbery14-Apr-09 6:24 
AnswerRe: Reading a XML file from IsolatedStorage ? Pin
Mohammad Dayyan14-Apr-09 10:56
Mohammad Dayyan14-Apr-09 10:56 
QuestionXAML - TreeView with CheckBoxes Pin
Jack Kril13-Apr-09 13:26
Jack Kril13-Apr-09 13:26 
AnswerRe: XAML - TreeView with CheckBoxes Pin
Eslam Afifi13-Apr-09 13:59
Eslam Afifi13-Apr-09 13:59 
QuestionClipping To Rounded Corners Pin
#realJSOP13-Apr-09 5:27
professional#realJSOP13-Apr-09 5:27 
AnswerRe: Clipping To Rounded Corners [modified] Pin
Eslam Afifi13-Apr-09 7:42
Eslam Afifi13-Apr-09 7:42 
AnswerRe: Clipping To Rounded Corners Pin
Mark Salsbery13-Apr-09 9:45
Mark Salsbery13-Apr-09 9:45 
AnswerRe: Clipping To Rounded Corners Pin
sivaddrahcir20-Apr-09 8:31
sivaddrahcir20-Apr-09 8:31 
QuestionOnRenderComplete like event for WPF controls Pin
Pankaj Chamria13-Apr-09 1:38
Pankaj Chamria13-Apr-09 1:38 
QuestionContext menu in Datatemplate Pin
mikla52111-Apr-09 5:39
mikla52111-Apr-09 5:39 
QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery11-Apr-09 7:42
Mark Salsbery11-Apr-09 7:42 
AnswerRe: Context menu in Datatemplate [modified] Pin
mikla52111-Apr-09 19:54
mikla52111-Apr-09 19:54 
Sorry....like this then...

<DataTemplate x:Key="TestDataListTemplate" >
...
<Grid Margin="5,2">
<Grid.ContextMenu>
<ContextMenu>
<MenuItem Header="Delete" Click="MenuItem_Click_DeleteProduct" />
</ContextMenu>
</Grid.ContextMenu>...

Error:ResourceDictionary root element requires a x:Class attribute...
If I add x:class="MyProgram.Window1" to <ResourceDictionary the i get this instead, among a few others...
Error: Partial declarations of MyProgram.Window1 must not specify different base classes....don't get it. Sigh | :sigh:

Well, it seems like I have more problems. The goal is to have ListBox with DataTemplate items, then I want a ContextMenu where I can choose to delete an item... Maybe I have to think in another way.

modified on Sunday, April 12, 2009 2:41 AM

QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery13-Apr-09 8:47
Mark Salsbery13-Apr-09 8:47 
AnswerRe: Context menu in Datatemplate Pin
mikla52113-Apr-09 21:11
mikla52113-Apr-09 21:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 7:00
Mark Salsbery14-Apr-09 7:00 
GeneralRe: Context menu in Datatemplate Pin
mikla52114-Apr-09 20:11
mikla52114-Apr-09 20:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 20:23
Mark Salsbery14-Apr-09 20:23 
QuestionInheritence in XAML Pin
0x3c010-Apr-09 9:09
0x3c010-Apr-09 9:09 
AnswerRe: Inheritence in XAML Pin
0x3c010-Apr-09 9:24
0x3c010-Apr-09 9:24 
QuestionStyles - Where Do I Put them? Pin
#realJSOP10-Apr-09 8:57
professional#realJSOP10-Apr-09 8:57 

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.