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

WPF

 
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 
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 
Pete O'Hanlon wrote:
Ain't WPF cool?

I am asking mysely: Why didn't i tried this before

Now i have a diffrent problem. I do not think it is alrigt to contiune new post, but here it is:

This is a stripped down event Template for a ListViewItem template
<DataTemplate x:Key="ListBoxItemPodjetjeTemplate">
    <Grid Margin="2">
        <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="0" Background="#8098D8D8" CornerRadius="4,4,4,4"/>
    </Grid>
    <DataTemplate.Triggers>
        <Trigger Property="Control.IsMouseOver">
            <Setter Property="Control.Background" Value="LightGreen"/>
        </Trigger>
    </DataTemplate.Triggers>
</DataTemplate>


I put Highlight color to transparent, now i want to change background of an item based on mouse over. Now the trigger is throwing me an exception with an inner text: {"'{DependencyProperty.UnsetValue}' is not a valid value for property 'IsMouseOver'."}.

Thank you in advance
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 
AnswerRe: Create Image Programtically Pin
Abhinav S29-Apr-10 18:27
Abhinav S29-Apr-10 18:27 
GeneralRe: Create Image Programtically Pin
#realJSOP29-Apr-10 23:48
mve#realJSOP29-Apr-10 23:48 
QuestionRe: Create Image Programtically Pin
Michel Godfroid29-Apr-10 23:34
Michel Godfroid29-Apr-10 23:34 
AnswerRe: Create Image Programtically Pin
#realJSOP29-Apr-10 23:52
mve#realJSOP29-Apr-10 23:52 
AnswerRe: Create Image Programtically Pin
Tim Yen1-May-10 3:08
Tim Yen1-May-10 3:08 
GeneralRe: Create Image Programtically Pin
#realJSOP3-May-10 2:56
mve#realJSOP3-May-10 2:56 

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.