locked
Listbox item colors? (WolfKC) - 3/16/2006 12:02 PM PST RRS feed

  • Question

  • By: WolfKC

    I was looking at the Fabrikam special effects sample and was able to change 
    properties for many of the controls. However the main selection listbox 
    doesn't seem to have a way to control the onmouseover color, selected color, 
    etc...
    Messing around with the xml I was able to get a couple of the colors to 
    change but I'm still missing some. I believe the listbox generates textboxes 
    that you cant easily control from the Designer. 
    Does anyone have any samples or helpful comments? 
    Thanks,
    KC
    Monday, February 18, 2008 10:04 PM

Answers

  • By: Unni Ravindranathan (MS)

    You can completely control the look of a ListBox and its items from within
    Interactive Designer. However, we don't have any comprehensive articles
    around this.

    To change the Selected color of a ListBoxItem, you should right click on the
    ListBox, choose to edit other Styles, edit ItemContainerStyle and hit edit a
    copy of the style. Therein, you will see various tabs in the timeline
    palette for the states one of which is IsSelected. To understand better, the
    ItemContainerStyle is the style that is getting applied to each ListBoxItem.
    The IsSelected property exists on the ListBoxItem and hence you need to do
    this.

    To change the IsMouseOver color of a ListBoxItem, you an do that either in
    the ItemContainerStyle that I explained above, or you can also do that when
    editing the Item template.

    Please let me know if you have other questions.

    Thanks,
    -Unni
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >I was looking at the Fabrikam special effects sample and was able to change
    > properties for many of the controls. However the main selection listbox
    > doesn't seem to have a way to control the onmouseover color, selected
    > color,
    > etc...
    > Messing around with the xml I was able to get a couple of the colors to
    > change but I'm still missing some. I believe the listbox generates
    > textboxes
    > that you cant easily control from the Designer.
    > Does anyone have any samples or helpful comments?
    > Thanks,
    > KC
    Tuesday, February 19, 2008 12:37 AM
  • By: Unni Ravindranathan (MS)

    Oops, sorry - I did not give out all the details. We are still working on
    making this easier, and I got confused :).

    After you edit a copy of the ItemContainerStyle, right click on the top of
    the timeline tree - choose Edit Template -> Edit Template. This should put
    you in a state where you can see the triggers for the blue highlight that
    you see when a ListBoxItem is selected.

    Also, you can delete a trigger that you don't care about by right clicking
    on the corresponding tab.

    Thanks,
    -Unni
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    > PS: This is a databound listbox (like the fabrikam special effects
    > sample).
    > Would that affect the control properties?
    >
    > "WolfKC" wrote:
    >
    >> I'm getting close but still missing something, mainly the IsSelected tab
    >> you
    >> mention. I'll try to be specific. I click on the list control (MastList);
    >> Right click and choose "Edit Other Styles -> Edit ItemContainerStyle ->
    >> Edit
    >> a copy of thise Style".
    >> I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2";
    >> Define in *This document: "ListBox MasterList; TargetType
    >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    >> "ItemContainerStyle" with a verticle list of properties and a "None" tab.
    >> I
    >> also have a "[No Triger]" tab which I think is left over from what I
    >> tried
    >> adding earlier.
    >>
    >> How do I get the IsSelected tab?
    >>
    >> I also tried deleting all my existing stles in case one of them might be
    >> conflicting but that didn't help. Do you think my xaml is corrupted or am
    >> I
    >> missing something int he Designer?
    >>
    >> Thanks again very much for your help.
    >> KC
    >> ---------------------------------
    >>
    >> "Unni Ravindranathan (MS)" wrote:
    >>
    >> > You can completely control the look of a ListBox and its items from
    >> > within
    >> > Interactive Designer. However, we don't have any comprehensive articles
    >> > around this.
    >> >
    >> > To change the Selected color of a ListBoxItem, you should right click
    >> > on the
    >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit
    >> > edit a
    >> > copy of the style. Therein, you will see various tabs in the timeline
    >> > palette for the states one of which is IsSelected. To understand
    >> > better, the
    >> > ItemContainerStyle is the style that is getting applied to each
    >> > ListBoxItem.
    >> > The IsSelected property exists on the ListBoxItem and hence you need to
    >> > do
    >> > this.
    >> >
    >> > To change the IsMouseOver color of a ListBoxItem, you an do that either
    >> > in
    >> > the ItemContainerStyle that I explained above, or you can also do that
    >> > when
    >> > editing the Item template.
    >> >
    >> > Please let me know if you have other questions.
    >> >
    >> > Thanks,
    >> > -Unni
    >> > --
    >> > This posting is provided "AS IS" with no warranties, and confers no
    >> > rights.
    >> >
    >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >> > >I was looking at the Fabrikam special effects sample and was able to
    >> > >change
    >> > > properties for many of the controls. However the main selection
    >> > > listbox
    >> > > doesn't seem to have a way to control the onmouseover color, selected
    >> > > color,
    >> > > etc...
    >> > > Messing around with the xml I was able to get a couple of the colors
    >> > > to
    >> > > change but I'm still missing some. I believe the listbox generates
    >> > > textboxes
    >> > > that you cant easily control from the Designer.
    >> > > Does anyone have any samples or helpful comments?
    >> > > Thanks,
    >> > > KC
    >> >
    >> >
    >> >
    Tuesday, February 19, 2008 12:39 AM

All replies

  • By: Unni Ravindranathan (MS)

    You can completely control the look of a ListBox and its items from within
    Interactive Designer. However, we don't have any comprehensive articles
    around this.

    To change the Selected color of a ListBoxItem, you should right click on the
    ListBox, choose to edit other Styles, edit ItemContainerStyle and hit edit a
    copy of the style. Therein, you will see various tabs in the timeline
    palette for the states one of which is IsSelected. To understand better, the
    ItemContainerStyle is the style that is getting applied to each ListBoxItem.
    The IsSelected property exists on the ListBoxItem and hence you need to do
    this.

    To change the IsMouseOver color of a ListBoxItem, you an do that either in
    the ItemContainerStyle that I explained above, or you can also do that when
    editing the Item template.

    Please let me know if you have other questions.

    Thanks,
    -Unni
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >I was looking at the Fabrikam special effects sample and was able to change
    > properties for many of the controls. However the main selection listbox
    > doesn't seem to have a way to control the onmouseover color, selected
    > color,
    > etc...
    > Messing around with the xml I was able to get a couple of the colors to
    > change but I'm still missing some. I believe the listbox generates
    > textboxes
    > that you cant easily control from the Designer.
    > Does anyone have any samples or helpful comments?
    > Thanks,
    > KC
    Tuesday, February 19, 2008 12:37 AM
  • By: WolfKC

    OK I'll give that another shot and let you know how it goes.  :)
    
    
    
    "Unni Ravindranathan (MS)" wrote:
    
    > You can completely control the look of a ListBox and its items from within 
    > Interactive Designer. However, we don't have any comprehensive articles 
    > around this.
    > 
    > To change the Selected color of a ListBoxItem, you should right click on the 
    > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit edit a 
    > copy of the style. Therein, you will see various tabs in the timeline 
    > palette for the states one of which is IsSelected. To understand better, the 
    > ItemContainerStyle is the style that is getting applied to each ListBoxItem. 
    > The IsSelected property exists on the ListBoxItem and hence you need to do 
    > this.
    > 
    > To change the IsMouseOver color of a ListBoxItem, you an do that either in 
    > the ItemContainerStyle that I explained above, or you can also do that when 
    > editing the Item template.
    > 
    > Please let me know if you have other questions.
    > 
    > Thanks,
    > -Unni
    > -- 
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > 
    > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > >I was looking at the Fabrikam special effects sample and was able to change
    > > properties for many of the controls. However the main selection listbox
    > > doesn't seem to have a way to control the onmouseover color, selected 
    > > color,
    > > etc...
    > > Messing around with the xml I was able to get a couple of the colors to
    > > change but I'm still missing some. I believe the listbox generates 
    > > textboxes
    > > that you cant easily control from the Designer.
    > > Does anyone have any samples or helpful comments?
    > > Thanks,
    > > KC 
    > 
    > 
    > 
    Tuesday, February 19, 2008 12:38 AM
  • By: WolfKC

    I'm getting close but still missing something, mainly the IsSelected tab you 
    mention. I'll try to be specific. I click on the list control (MastList); 
    Right click and choose "Edit Other Styles -> Edit ItemContainerStyle -> Edit 
    a copy of thise Style". 
    I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2"; 
    Define in *This document: "ListBox MasterList; TargetType 
    Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see 
    "ItemContainerStyle" with a verticle list of properties and a "None" tab. I 
    also have a "[No Triger]" tab which I think is left over from what I tried 
    adding earlier. 
    
    How do I get the IsSelected tab? 
    
    I also tried deleting all my existing stles in case one of them might be 
    conflicting but that didn't help. Do you think my xaml is corrupted or am I 
    missing something int he Designer?
    
    Thanks again very much for your help.
    KC
    ---------------------------------
    
    "Unni Ravindranathan (MS)" wrote:
    
    > You can completely control the look of a ListBox and its items from within 
    > Interactive Designer. However, we don't have any comprehensive articles 
    > around this.
    > 
    > To change the Selected color of a ListBoxItem, you should right click on the 
    > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit edit a 
    > copy of the style. Therein, you will see various tabs in the timeline 
    > palette for the states one of which is IsSelected. To understand better, the 
    > ItemContainerStyle is the style that is getting applied to each ListBoxItem. 
    > The IsSelected property exists on the ListBoxItem and hence you need to do 
    > this.
    > 
    > To change the IsMouseOver color of a ListBoxItem, you an do that either in 
    > the ItemContainerStyle that I explained above, or you can also do that when 
    > editing the Item template.
    > 
    > Please let me know if you have other questions.
    > 
    > Thanks,
    > -Unni
    > -- 
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > 
    > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > >I was looking at the Fabrikam special effects sample and was able to change
    > > properties for many of the controls. However the main selection listbox
    > > doesn't seem to have a way to control the onmouseover color, selected 
    > > color,
    > > etc...
    > > Messing around with the xml I was able to get a couple of the colors to
    > > change but I'm still missing some. I believe the listbox generates 
    > > textboxes
    > > that you cant easily control from the Designer.
    > > Does anyone have any samples or helpful comments?
    > > Thanks,
    > > KC 
    > 
    > 
    > 
    Tuesday, February 19, 2008 12:38 AM
  • By: WolfKC

    PS: This is a databound listbox (like the fabrikam special effects sample). 
    Would that affect the control properties?
    
    "WolfKC" wrote:
    
    > I'm getting close but still missing something, mainly the IsSelected tab you 
    > mention. I'll try to be specific. I click on the list control (MastList); 
    > Right click and choose "Edit Other Styles -> Edit ItemContainerStyle -> Edit 
    > a copy of thise Style". 
    > I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2"; 
    > Define in *This document: "ListBox MasterList; TargetType 
    > Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see 
    > "ItemContainerStyle" with a verticle list of properties and a "None" tab. I 
    > also have a "[No Triger]" tab which I think is left over from what I tried 
    > adding earlier. 
    > 
    > How do I get the IsSelected tab? 
    > 
    > I also tried deleting all my existing stles in case one of them might be 
    > conflicting but that didn't help. Do you think my xaml is corrupted or am I 
    > missing something int he Designer?
    > 
    > Thanks again very much for your help.
    > KC
    > ---------------------------------
    > 
    > "Unni Ravindranathan (MS)" wrote:
    > 
    > > You can completely control the look of a ListBox and its items from within 
    > > Interactive Designer. However, we don't have any comprehensive articles 
    > > around this.
    > > 
    > > To change the Selected color of a ListBoxItem, you should right click on the 
    > > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit edit a 
    > > copy of the style. Therein, you will see various tabs in the timeline 
    > > palette for the states one of which is IsSelected. To understand better, the 
    > > ItemContainerStyle is the style that is getting applied to each ListBoxItem. 
    > > The IsSelected property exists on the ListBoxItem and hence you need to do 
    > > this.
    > > 
    > > To change the IsMouseOver color of a ListBoxItem, you an do that either in 
    > > the ItemContainerStyle that I explained above, or you can also do that when 
    > > editing the Item template.
    > > 
    > > Please let me know if you have other questions.
    > > 
    > > Thanks,
    > > -Unni
    > > -- 
    > > This posting is provided "AS IS" with no warranties, and confers no rights.
    > > 
    > > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    > > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > > >I was looking at the Fabrikam special effects sample and was able to change
    > > > properties for many of the controls. However the main selection listbox
    > > > doesn't seem to have a way to control the onmouseover color, selected 
    > > > color,
    > > > etc...
    > > > Messing around with the xml I was able to get a couple of the colors to
    > > > change but I'm still missing some. I believe the listbox generates 
    > > > textboxes
    > > > that you cant easily control from the Designer.
    > > > Does anyone have any samples or helpful comments?
    > > > Thanks,
    > > > KC 
    > > 
    > > 
    > > 
    Tuesday, February 19, 2008 12:39 AM
  • By: Unni Ravindranathan (MS)

    Oops, sorry - I did not give out all the details. We are still working on
    making this easier, and I got confused :).

    After you edit a copy of the ItemContainerStyle, right click on the top of
    the timeline tree - choose Edit Template -> Edit Template. This should put
    you in a state where you can see the triggers for the blue highlight that
    you see when a ListBoxItem is selected.

    Also, you can delete a trigger that you don't care about by right clicking
    on the corresponding tab.

    Thanks,
    -Unni
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    > PS: This is a databound listbox (like the fabrikam special effects
    > sample).
    > Would that affect the control properties?
    >
    > "WolfKC" wrote:
    >
    >> I'm getting close but still missing something, mainly the IsSelected tab
    >> you
    >> mention. I'll try to be specific. I click on the list control (MastList);
    >> Right click and choose "Edit Other Styles -> Edit ItemContainerStyle ->
    >> Edit
    >> a copy of thise Style".
    >> I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2";
    >> Define in *This document: "ListBox MasterList; TargetType
    >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    >> "ItemContainerStyle" with a verticle list of properties and a "None" tab.
    >> I
    >> also have a "[No Triger]" tab which I think is left over from what I
    >> tried
    >> adding earlier.
    >>
    >> How do I get the IsSelected tab?
    >>
    >> I also tried deleting all my existing stles in case one of them might be
    >> conflicting but that didn't help. Do you think my xaml is corrupted or am
    >> I
    >> missing something int he Designer?
    >>
    >> Thanks again very much for your help.
    >> KC
    >> ---------------------------------
    >>
    >> "Unni Ravindranathan (MS)" wrote:
    >>
    >> > You can completely control the look of a ListBox and its items from
    >> > within
    >> > Interactive Designer. However, we don't have any comprehensive articles
    >> > around this.
    >> >
    >> > To change the Selected color of a ListBoxItem, you should right click
    >> > on the
    >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit
    >> > edit a
    >> > copy of the style. Therein, you will see various tabs in the timeline
    >> > palette for the states one of which is IsSelected. To understand
    >> > better, the
    >> > ItemContainerStyle is the style that is getting applied to each
    >> > ListBoxItem.
    >> > The IsSelected property exists on the ListBoxItem and hence you need to
    >> > do
    >> > this.
    >> >
    >> > To change the IsMouseOver color of a ListBoxItem, you an do that either
    >> > in
    >> > the ItemContainerStyle that I explained above, or you can also do that
    >> > when
    >> > editing the Item template.
    >> >
    >> > Please let me know if you have other questions.
    >> >
    >> > Thanks,
    >> > -Unni
    >> > --
    >> > This posting is provided "AS IS" with no warranties, and confers no
    >> > rights.
    >> >
    >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >> > >I was looking at the Fabrikam special effects sample and was able to
    >> > >change
    >> > > properties for many of the controls. However the main selection
    >> > > listbox
    >> > > doesn't seem to have a way to control the onmouseover color, selected
    >> > > color,
    >> > > etc...
    >> > > Messing around with the xml I was able to get a couple of the colors
    >> > > to
    >> > > change but I'm still missing some. I believe the listbox generates
    >> > > textboxes
    >> > > that you cant easily control from the Designer.
    >> > > Does anyone have any samples or helpful comments?
    >> > > Thanks,
    >> > > KC
    >> >
    >> >
    >> >
    Tuesday, February 19, 2008 12:39 AM
  • By: WolfKC

    Ah yes now I got it. It is a bit un-intuative, glad you are working on making
    it easier. But anyway I think I have it now, thanks very much for the help! :)
    Now I'm off to figure out new questions for you. 8D
    Thanks again,
    KC

    "Unni Ravindranathan (MS)" wrote:

    > Oops, sorry - I did not give out all the details. We are still working on
    > making this easier, and I got confused :).
    >
    > After you edit a copy of the ItemContainerStyle, right click on the top of
    > the timeline tree - choose Edit Template -> Edit Template. This should put
    > you in a state where you can see the triggers for the blue highlight that
    > you see when a ListBoxItem is selected.
    >
    > Also, you can delete a trigger that you don't care about by right clicking
    > on the corresponding tab.
    >
    > Thanks,
    > -Unni
    > --
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    > news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    > > PS: This is a databound listbox (like the fabrikam special effects
    > > sample).
    > > Would that affect the control properties?
    > >
    > > "WolfKC" wrote:
    > >
    > >> I'm getting close but still missing something, mainly the IsSelected tab
    > >> you
    > >> mention. I'll try to be specific. I click on the list control (MastList);
    > >> Right click and choose "Edit Other Styles -> Edit ItemContainerStyle ->
    > >> Edit
    > >> a copy of thise Style".
    > >> I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2";
    > >> Define in *This document: "ListBox MasterList; TargetType
    > >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    > >> "ItemContainerStyle" with a verticle list of properties and a "None" tab.
    > >> I
    > >> also have a "[No Triger]" tab which I think is left over from what I
    > >> tried
    > >> adding earlier.
    > >>
    > >> How do I get the IsSelected tab?
    > >>
    > >> I also tried deleting all my existing stles in case one of them might be
    > >> conflicting but that didn't help. Do you think my xaml is corrupted or am
    > >> I
    > >> missing something int he Designer?
    > >>
    > >> Thanks again very much for your help.
    > >> KC
    > >> ---------------------------------
    > >>
    > >> "Unni Ravindranathan (MS)" wrote:
    > >>
    > >> > You can completely control the look of a ListBox and its items from
    > >> > within
    > >> > Interactive Designer. However, we don't have any comprehensive articles
    > >> > around this.
    > >> >
    > >> > To change the Selected color of a ListBoxItem, you should right click
    > >> > on the
    > >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit
    > >> > edit a
    > >> > copy of the style. Therein, you will see various tabs in the timeline
    > >> > palette for the states one of which is IsSelected. To understand
    > >> > better, the
    > >> > ItemContainerStyle is the style that is getting applied to each
    > >> > ListBoxItem.
    > >> > The IsSelected property exists on the ListBoxItem and hence you need to
    > >> > do
    > >> > this.
    > >> >
    > >> > To change the IsMouseOver color of a ListBoxItem, you an do that either
    > >> > in
    > >> > the ItemContainerStyle that I explained above, or you can also do that
    > >> > when
    > >> > editing the Item template.
    > >> >
    > >> > Please let me know if you have other questions.
    > >> >
    > >> > Thanks,
    > >> > -Unni
    > >> > --
    > >> > This posting is provided "AS IS" with no warranties, and confers no
    > >> > rights.
    > >> >
    > >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    > >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > >> > >I was looking at the Fabrikam special effects sample and was able to
    > >> > >change
    > >> > > properties for many of the controls. However the main selection
    > >> > > listbox
    > >> > > doesn't seem to have a way to control the onmouseover color, selected
    > >> > > color,
    > >> > > etc...
    > >> > > Messing around with the xml I was able to get a couple of the colors
    > >> > > to
    > >> > > change but I'm still missing some. I believe the listbox generates
    > >> > > textboxes
    > >> > > that you cant easily control from the Designer.
    > >> > > Does anyone have any samples or helpful comments?
    > >> > > Thanks,
    > >> > > KC
    > >> >
    > >> >
    > >> >
    >
    >
    Tuesday, February 19, 2008 12:39 AM
  • By: WolfKC

    One question about the listbox item settings, now that I have found them. 
    There is an "UpperHighLight" property (on left side of time line so maybe 
    property isn't the right word). I have this set to a gradent but it doesn't 
    look good. It appears to set the color of the upper half of the control. Is 
    there a "LowerHighLight" property? If so where is it and why isn't it showing 
    here? 
    I found that I can select the box for the UpperHighLight and make it the 
    size of the control and then the grandent will look fine. But I wonder if 
    this is counter to the proper way of how this should be done (use of a 
    "lowerhighlight"???).
    Thanks again,
    KC
    
    
    "Unni Ravindranathan (MS)" wrote:
    
    > Oops, sorry - I did not give out all the details. We are still working on 
    > making this easier, and I got confused :).
    > 
    > After you edit a copy of the ItemContainerStyle, right click on the top of 
    > the timeline tree - choose Edit Template -> Edit Template. This should put 
    > you in a state where you can see the triggers for the blue highlight that 
    > you see when a ListBoxItem is selected.
    > 
    > Also, you can delete a trigger that you don't care about by right clicking 
    > on the corresponding tab.
    > 
    > Thanks,
    > -Unni
    > -- 
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > 
    > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    > news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    > > PS: This is a databound listbox (like the fabrikam special effects 
    > > sample).
    > > Would that affect the control properties?
    > >
    > > "WolfKC" wrote:
    > >
    > >> I'm getting close but still missing something, mainly the IsSelected tab 
    > >> you
    > >> mention. I'll try to be specific. I click on the list control (MastList);
    > >> Right click and choose "Edit Other Styles -> Edit ItemContainerStyle -> 
    > >> Edit
    > >> a copy of thise Style".
    > >> I get a "Create a Style Resource" box that has Key "ListBoxItemStyle2";
    > >> Define in *This document: "ListBox MasterList; TargetType
    > >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    > >> "ItemContainerStyle" with a verticle list of properties and a "None" tab. 
    > >> I
    > >> also have a "[No Triger]" tab which I think is left over from what I 
    > >> tried
    > >> adding earlier.
    > >>
    > >> How do I get the IsSelected tab?
    > >>
    > >> I also tried deleting all my existing stles in case one of them might be
    > >> conflicting but that didn't help. Do you think my xaml is corrupted or am 
    > >> I
    > >> missing something int he Designer?
    > >>
    > >> Thanks again very much for your help.
    > >> KC
    > >> ---------------------------------
    > >>
    > >> "Unni Ravindranathan (MS)" wrote:
    > >>
    > >> > You can completely control the look of a ListBox and its items from 
    > >> > within
    > >> > Interactive Designer. However, we don't have any comprehensive articles
    > >> > around this.
    > >> >
    > >> > To change the Selected color of a ListBoxItem, you should right click 
    > >> > on the
    > >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and hit 
    > >> > edit a
    > >> > copy of the style. Therein, you will see various tabs in the timeline
    > >> > palette for the states one of which is IsSelected. To understand 
    > >> > better, the
    > >> > ItemContainerStyle is the style that is getting applied to each 
    > >> > ListBoxItem.
    > >> > The IsSelected property exists on the ListBoxItem and hence you need to 
    > >> > do
    > >> > this.
    > >> >
    > >> > To change the IsMouseOver color of a ListBoxItem, you an do that either 
    > >> > in
    > >> > the ItemContainerStyle that I explained above, or you can also do that 
    > >> > when
    > >> > editing the Item template.
    > >> >
    > >> > Please let me know if you have other questions.
    > >> >
    > >> > Thanks,
    > >> > -Unni
    > >> > -- 
    > >> > This posting is provided "AS IS" with no warranties, and confers no 
    > >> > rights.
    > >> >
    > >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    > >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > >> > >I was looking at the Fabrikam special effects sample and was able to 
    > >> > >change
    > >> > > properties for many of the controls. However the main selection 
    > >> > > listbox
    > >> > > doesn't seem to have a way to control the onmouseover color, selected
    > >> > > color,
    > >> > > etc...
    > >> > > Messing around with the xml I was able to get a couple of the colors 
    > >> > > to
    > >> > > change but I'm still missing some. I believe the listbox generates
    > >> > > textboxes
    > >> > > that you cant easily control from the Designer.
    > >> > > Does anyone have any samples or helpful comments?
    > >> > > Thanks,
    > >> > > KC
    > >> >
    > >> >
    > >> > 
    > 
    > 
    > 
    Tuesday, February 19, 2008 12:40 AM
  • By: Unni Ravindranathan (MS)

    Can you send a screen shot of what you see? I could not find a property 
    setter call UpperHighLight. Also please let me know the theme of the OS you 
    are running on - the control structure might also depend on the theme.
    
    Thanks,
    -Unni
    -- 
    This posting is provided "AS IS" with no warranties, and confers no rights.
    
    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    news:87B13120-2C20-4A68-B05D-8A2FFFB7A796@microsoft.com...
    > One question about the listbox item settings, now that I have found them.
    > There is an "UpperHighLight" property (on left side of time line so maybe
    > property isn't the right word). I have this set to a gradent but it 
    > doesn't
    > look good. It appears to set the color of the upper half of the control. 
    > Is
    > there a "LowerHighLight" property? If so where is it and why isn't it 
    > showing
    > here?
    > I found that I can select the box for the UpperHighLight and make it the
    > size of the control and then the grandent will look fine. But I wonder if
    > this is counter to the proper way of how this should be done (use of a
    > "lowerhighlight"???).
    > Thanks again,
    > KC
    >
    >
    > "Unni Ravindranathan (MS)" wrote:
    >
    >> Oops, sorry - I did not give out all the details. We are still working on
    >> making this easier, and I got confused :).
    >>
    >> After you edit a copy of the ItemContainerStyle, right click on the top 
    >> of
    >> the timeline tree - choose Edit Template -> Edit Template. This should 
    >> put
    >> you in a state where you can see the triggers for the blue highlight that
    >> you see when a ListBoxItem is selected.
    >>
    >> Also, you can delete a trigger that you don't care about by right 
    >> clicking
    >> on the corresponding tab.
    >>
    >> Thanks,
    >> -Unni
    >> -- 
    >> This posting is provided "AS IS" with no warranties, and confers no 
    >> rights.
    >>
    >> "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    >> > PS: This is a databound listbox (like the fabrikam special effects
    >> > sample).
    >> > Would that affect the control properties?
    >> >
    >> > "WolfKC" wrote:
    >> >
    >> >> I'm getting close but still missing something, mainly the IsSelected 
    >> >> tab
    >> >> you
    >> >> mention. I'll try to be specific. I click on the list control 
    >> >> (MastList);
    >> >> Right click and choose "Edit Other Styles -> Edit 
    >> >> ItemContainerStyle ->
    >> >> Edit
    >> >> a copy of thise Style".
    >> >> I get a "Create a Style Resource" box that has Key 
    >> >> "ListBoxItemStyle2";
    >> >> Define in *This document: "ListBox MasterList; TargetType
    >> >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    >> >> "ItemContainerStyle" with a verticle list of properties and a "None" 
    >> >> tab.
    >> >> I
    >> >> also have a "[No Triger]" tab which I think is left over from what I
    >> >> tried
    >> >> adding earlier.
    >> >>
    >> >> How do I get the IsSelected tab?
    >> >>
    >> >> I also tried deleting all my existing stles in case one of them might 
    >> >> be
    >> >> conflicting but that didn't help. Do you think my xaml is corrupted or 
    >> >> am
    >> >> I
    >> >> missing something int he Designer?
    >> >>
    >> >> Thanks again very much for your help.
    >> >> KC
    >> >> ---------------------------------
    >> >>
    >> >> "Unni Ravindranathan (MS)" wrote:
    >> >>
    >> >> > You can completely control the look of a ListBox and its items from
    >> >> > within
    >> >> > Interactive Designer. However, we don't have any comprehensive 
    >> >> > articles
    >> >> > around this.
    >> >> >
    >> >> > To change the Selected color of a ListBoxItem, you should right 
    >> >> > click
    >> >> > on the
    >> >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and 
    >> >> > hit
    >> >> > edit a
    >> >> > copy of the style. Therein, you will see various tabs in the 
    >> >> > timeline
    >> >> > palette for the states one of which is IsSelected. To understand
    >> >> > better, the
    >> >> > ItemContainerStyle is the style that is getting applied to each
    >> >> > ListBoxItem.
    >> >> > The IsSelected property exists on the ListBoxItem and hence you need 
    >> >> > to
    >> >> > do
    >> >> > this.
    >> >> >
    >> >> > To change the IsMouseOver color of a ListBoxItem, you an do that 
    >> >> > either
    >> >> > in
    >> >> > the ItemContainerStyle that I explained above, or you can also do 
    >> >> > that
    >> >> > when
    >> >> > editing the Item template.
    >> >> >
    >> >> > Please let me know if you have other questions.
    >> >> >
    >> >> > Thanks,
    >> >> > -Unni
    >> >> > -- 
    >> >> > This posting is provided "AS IS" with no warranties, and confers no
    >> >> > rights.
    >> >> >
    >> >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >> >> > >I was looking at the Fabrikam special effects sample and was able 
    >> >> > >to
    >> >> > >change
    >> >> > > properties for many of the controls. However the main selection
    >> >> > > listbox
    >> >> > > doesn't seem to have a way to control the onmouseover color, 
    >> >> > > selected
    >> >> > > color,
    >> >> > > etc...
    >> >> > > Messing around with the xml I was able to get a couple of the 
    >> >> > > colors
    >> >> > > to
    >> >> > > change but I'm still missing some. I believe the listbox generates
    >> >> > > textboxes
    >> >> > > that you cant easily control from the Designer.
    >> >> > > Does anyone have any samples or helpful comments?
    >> >> > > Thanks,
    >> >> > > KC
    >> >> >
    >> >> >
    >> >> >
    >>
    >>
    >> 
    
    
    
    Tuesday, February 19, 2008 12:40 AM
  • By: WolfKC

    I wasn't sure of the best way to send, so I put an image on my webpage. You 
    can see at www.chipman.org/1.png 
    You can see the upperhighlight control in the listbox and in the timeline 
    section. So, as I said before it's not a problem for me to expand that 
    control and make the gradent cover the listbox item... but I'm suspecting 
    this is not the normal way to do it.  This is a modification of the fabrikam 
    example. To get here I went to RtClick Masterlist -> Edit Other Styles -> 
    Edit Style .. -> Right Click ItemContainerStyle -> Edit Template -> Edit 
    Template.. See Expanded: Mainborder->InnerBorder->Grid->UpperHighlight. Also 
    I think you have to be on one of the tabs other than "None" to select it. 
    
    Even if I make a new blank project and add a listbox this upperhighlight 
    that sets the color for only the upper half of the listboxes items is in the 
    style template.
    So, if I want to make a listbox with a gradient over the selected items, do 
    I need to expand upperhighlight or is there something more straightforward?
    
    Thanks again in advance.
    KC
    
    "Unni Ravindranathan (MS)" wrote:
    
    > Can you send a screen shot of what you see? I could not find a property 
    > setter call UpperHighLight. Also please let me know the theme of the OS you 
    > are running on - the control structure might also depend on the theme.
    > 
    > Thanks,
    > -Unni
    > -- 
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > 
    > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    > news:87B13120-2C20-4A68-B05D-8A2FFFB7A796@microsoft.com...
    > > One question about the listbox item settings, now that I have found them.
    > > There is an "UpperHighLight" property (on left side of time line so maybe
    > > property isn't the right word). I have this set to a gradent but it 
    > > doesn't
    > > look good. It appears to set the color of the upper half of the control. 
    > > Is
    > > there a "LowerHighLight" property? If so where is it and why isn't it 
    > > showing
    > > here?
    > > I found that I can select the box for the UpperHighLight and make it the
    > > size of the control and then the grandent will look fine. But I wonder if
    > > this is counter to the proper way of how this should be done (use of a
    > > "lowerhighlight"???).
    > > Thanks again,
    > > KC
    > >
    > >
    > > "Unni Ravindranathan (MS)" wrote:
    > >
    > >> Oops, sorry - I did not give out all the details. We are still working on
    > >> making this easier, and I got confused :).
    > >>
    > >> After you edit a copy of the ItemContainerStyle, right click on the top 
    > >> of
    > >> the timeline tree - choose Edit Template -> Edit Template. This should 
    > >> put
    > >> you in a state where you can see the triggers for the blue highlight that
    > >> you see when a ListBoxItem is selected.
    > >>
    > >> Also, you can delete a trigger that you don't care about by right 
    > >> clicking
    > >> on the corresponding tab.
    > >>
    > >> Thanks,
    > >> -Unni
    > >> -- 
    > >> This posting is provided "AS IS" with no warranties, and confers no 
    > >> rights.
    > >>
    > >> "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    > >> news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    > >> > PS: This is a databound listbox (like the fabrikam special effects
    > >> > sample).
    > >> > Would that affect the control properties?
    > >> >
    > >> > "WolfKC" wrote:
    > >> >
    > >> >> I'm getting close but still missing something, mainly the IsSelected 
    > >> >> tab
    > >> >> you
    > >> >> mention. I'll try to be specific. I click on the list control 
    > >> >> (MastList);
    > >> >> Right click and choose "Edit Other Styles -> Edit 
    > >> >> ItemContainerStyle ->
    > >> >> Edit
    > >> >> a copy of thise Style".
    > >> >> I get a "Create a Style Resource" box that has Key 
    > >> >> "ListBoxItemStyle2";
    > >> >> Define in *This document: "ListBox MasterList; TargetType
    > >> >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I see
    > >> >> "ItemContainerStyle" with a verticle list of properties and a "None" 
    > >> >> tab.
    > >> >> I
    > >> >> also have a "[No Triger]" tab which I think is left over from what I
    > >> >> tried
    > >> >> adding earlier.
    > >> >>
    > >> >> How do I get the IsSelected tab?
    > >> >>
    > >> >> I also tried deleting all my existing stles in case one of them might 
    > >> >> be
    > >> >> conflicting but that didn't help. Do you think my xaml is corrupted or 
    > >> >> am
    > >> >> I
    > >> >> missing something int he Designer?
    > >> >>
    > >> >> Thanks again very much for your help.
    > >> >> KC
    > >> >> ---------------------------------
    > >> >>
    > >> >> "Unni Ravindranathan (MS)" wrote:
    > >> >>
    > >> >> > You can completely control the look of a ListBox and its items from
    > >> >> > within
    > >> >> > Interactive Designer. However, we don't have any comprehensive 
    > >> >> > articles
    > >> >> > around this.
    > >> >> >
    > >> >> > To change the Selected color of a ListBoxItem, you should right 
    > >> >> > click
    > >> >> > on the
    > >> >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and 
    > >> >> > hit
    > >> >> > edit a
    > >> >> > copy of the style. Therein, you will see various tabs in the 
    > >> >> > timeline
    > >> >> > palette for the states one of which is IsSelected. To understand
    > >> >> > better, the
    > >> >> > ItemContainerStyle is the style that is getting applied to each
    > >> >> > ListBoxItem.
    > >> >> > The IsSelected property exists on the ListBoxItem and hence you need 
    > >> >> > to
    > >> >> > do
    > >> >> > this.
    > >> >> >
    > >> >> > To change the IsMouseOver color of a ListBoxItem, you an do that 
    > >> >> > either
    > >> >> > in
    > >> >> > the ItemContainerStyle that I explained above, or you can also do 
    > >> >> > that
    > >> >> > when
    > >> >> > editing the Item template.
    > >> >> >
    > >> >> > Please let me know if you have other questions.
    > >> >> >
    > >> >> > Thanks,
    > >> >> > -Unni
    > >> >> > -- 
    > >> >> > This posting is provided "AS IS" with no warranties, and confers no
    > >> >> > rights.
    > >> >> >
    > >> >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    > >> >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    > >> >> > >I was looking at the Fabrikam special effects sample and was able 
    > >> >> > >to
    > >> >> > >change
    > >> >> > > properties for many of the controls. However the main selection
    > >> >> > > listbox
    > >> >> > > doesn't seem to have a way to control the onmouseover color, 
    > >> >> > > selected
    > >> >> > > color,
    > >> >> > > etc...
    > >> >> > > Messing around with the xml I was able to get a couple of the 
    > >> >> > > colors
    > >> >> > > to
    > >> >> > > change but I'm still missing some. I believe the listbox generates
    > >> >> > > textboxes
    > >> >> > > that you cant easily control from the Designer.
    > >> >> > > Does anyone have any samples or helpful comments?
    > >> >> > > Thanks,
    > >> >> > > KC
    > >> >> >
    > >> >> >
    > >> >> >
    > >>
    > >>
    > >> 
    > 
    > 
    > 
    Tuesday, February 19, 2008 12:41 AM
  • By: Unni Ravindranathan (MS)

    Thanks for sending the picture - the OS is Vista. The answer to your 
    question is yes - you are doing it correctly - you need to expand the 
    Rectangle since they are setting Height and Margin in the IsSelected state 
    (you can see these in the picture below "UpperHighlight" that you circled.
    
    Thanks,
    -Unni
    -- 
    This posting is provided "AS IS" with no warranties, and confers no rights.
    
    "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message 
    news:977F803C-7D1A-4A54-B0B6-303CBD945CF7@microsoft.com...
    >I wasn't sure of the best way to send, so I put an image on my webpage. You
    > can see at www.chipman.org/1.png
    > You can see the upperhighlight control in the listbox and in the timeline
    > section. So, as I said before it's not a problem for me to expand that
    > control and make the gradent cover the listbox item... but I'm suspecting
    > this is not the normal way to do it.  This is a modification of the 
    > fabrikam
    > example. To get here I went to RtClick Masterlist -> Edit Other Styles ->
    > Edit Style .. -> Right Click ItemContainerStyle -> Edit Template -> Edit
    > Template.. See Expanded: Mainborder->InnerBorder->Grid->UpperHighlight. 
    > Also
    > I think you have to be on one of the tabs other than "None" to select it.
    >
    > Even if I make a new blank project and add a listbox this upperhighlight
    > that sets the color for only the upper half of the listboxes items is in 
    > the
    > style template.
    > So, if I want to make a listbox with a gradient over the selected items, 
    > do
    > I need to expand upperhighlight or is there something more 
    > straightforward?
    >
    > Thanks again in advance.
    > KC
    >
    > "Unni Ravindranathan (MS)" wrote:
    >
    >> Can you send a screen shot of what you see? I could not find a property
    >> setter call UpperHighLight. Also please let me know the theme of the OS 
    >> you
    >> are running on - the control structure might also depend on the theme.
    >>
    >> Thanks,
    >> -Unni
    >> -- 
    >> This posting is provided "AS IS" with no warranties, and confers no 
    >> rights.
    >>
    >> "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> news:87B13120-2C20-4A68-B05D-8A2FFFB7A796@microsoft.com...
    >> > One question about the listbox item settings, now that I have found 
    >> > them.
    >> > There is an "UpperHighLight" property (on left side of time line so 
    >> > maybe
    >> > property isn't the right word). I have this set to a gradent but it
    >> > doesn't
    >> > look good. It appears to set the color of the upper half of the 
    >> > control.
    >> > Is
    >> > there a "LowerHighLight" property? If so where is it and why isn't it
    >> > showing
    >> > here?
    >> > I found that I can select the box for the UpperHighLight and make it 
    >> > the
    >> > size of the control and then the grandent will look fine. But I wonder 
    >> > if
    >> > this is counter to the proper way of how this should be done (use of a
    >> > "lowerhighlight"???).
    >> > Thanks again,
    >> > KC
    >> >
    >> >
    >> > "Unni Ravindranathan (MS)" wrote:
    >> >
    >> >> Oops, sorry - I did not give out all the details. We are still working 
    >> >> on
    >> >> making this easier, and I got confused :).
    >> >>
    >> >> After you edit a copy of the ItemContainerStyle, right click on the 
    >> >> top
    >> >> of
    >> >> the timeline tree - choose Edit Template -> Edit Template. This should
    >> >> put
    >> >> you in a state where you can see the triggers for the blue highlight 
    >> >> that
    >> >> you see when a ListBoxItem is selected.
    >> >>
    >> >> Also, you can delete a trigger that you don't care about by right
    >> >> clicking
    >> >> on the corresponding tab.
    >> >>
    >> >> Thanks,
    >> >> -Unni
    >> >> -- 
    >> >> This posting is provided "AS IS" with no warranties, and confers no
    >> >> rights.
    >> >>
    >> >> "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> >> news:1836550D-B5C0-4BF9-B549-21BA2E349B58@microsoft.com...
    >> >> > PS: This is a databound listbox (like the fabrikam special effects
    >> >> > sample).
    >> >> > Would that affect the control properties?
    >> >> >
    >> >> > "WolfKC" wrote:
    >> >> >
    >> >> >> I'm getting close but still missing something, mainly the 
    >> >> >> IsSelected
    >> >> >> tab
    >> >> >> you
    >> >> >> mention. I'll try to be specific. I click on the list control
    >> >> >> (MastList);
    >> >> >> Right click and choose "Edit Other Styles -> Edit
    >> >> >> ItemContainerStyle ->
    >> >> >> Edit
    >> >> >> a copy of thise Style".
    >> >> >> I get a "Create a Style Resource" box that has Key
    >> >> >> "ListBoxItemStyle2";
    >> >> >> Define in *This document: "ListBox MasterList; TargetType
    >> >> >> Systems.Windows.Controls.ListBoxItem". Hit OK. In the Timeline I 
    >> >> >> see
    >> >> >> "ItemContainerStyle" with a verticle list of properties and a 
    >> >> >> "None"
    >> >> >> tab.
    >> >> >> I
    >> >> >> also have a "[No Triger]" tab which I think is left over from what 
    >> >> >> I
    >> >> >> tried
    >> >> >> adding earlier.
    >> >> >>
    >> >> >> How do I get the IsSelected tab?
    >> >> >>
    >> >> >> I also tried deleting all my existing stles in case one of them 
    >> >> >> might
    >> >> >> be
    >> >> >> conflicting but that didn't help. Do you think my xaml is corrupted 
    >> >> >> or
    >> >> >> am
    >> >> >> I
    >> >> >> missing something int he Designer?
    >> >> >>
    >> >> >> Thanks again very much for your help.
    >> >> >> KC
    >> >> >> ---------------------------------
    >> >> >>
    >> >> >> "Unni Ravindranathan (MS)" wrote:
    >> >> >>
    >> >> >> > You can completely control the look of a ListBox and its items 
    >> >> >> > from
    >> >> >> > within
    >> >> >> > Interactive Designer. However, we don't have any comprehensive
    >> >> >> > articles
    >> >> >> > around this.
    >> >> >> >
    >> >> >> > To change the Selected color of a ListBoxItem, you should right
    >> >> >> > click
    >> >> >> > on the
    >> >> >> > ListBox, choose to edit other Styles, edit ItemContainerStyle and
    >> >> >> > hit
    >> >> >> > edit a
    >> >> >> > copy of the style. Therein, you will see various tabs in the
    >> >> >> > timeline
    >> >> >> > palette for the states one of which is IsSelected. To understand
    >> >> >> > better, the
    >> >> >> > ItemContainerStyle is the style that is getting applied to each
    >> >> >> > ListBoxItem.
    >> >> >> > The IsSelected property exists on the ListBoxItem and hence you 
    >> >> >> > need
    >> >> >> > to
    >> >> >> > do
    >> >> >> > this.
    >> >> >> >
    >> >> >> > To change the IsMouseOver color of a ListBoxItem, you an do that
    >> >> >> > either
    >> >> >> > in
    >> >> >> > the ItemContainerStyle that I explained above, or you can also do
    >> >> >> > that
    >> >> >> > when
    >> >> >> > editing the Item template.
    >> >> >> >
    >> >> >> > Please let me know if you have other questions.
    >> >> >> >
    >> >> >> > Thanks,
    >> >> >> > -Unni
    >> >> >> > -- 
    >> >> >> > This posting is provided "AS IS" with no warranties, and confers 
    >> >> >> > no
    >> >> >> > rights.
    >> >> >> >
    >> >> >> > "WolfKC" <WolfKC@discussions.microsoft.com> wrote in message
    >> >> >> > news:C8BFC7E4-2469-49C6-991F-5B4048BFAAAC@microsoft.com...
    >> >> >> > >I was looking at the Fabrikam special effects sample and was 
    >> >> >> > >able
    >> >> >> > >to
    >> >> >> > >change
    >> >> >> > > properties for many of the controls. However the main selection
    >> >> >> > > listbox
    >> >> >> > > doesn't seem to have a way to control the onmouseover color,
    >> >> >> > > selected
    >> >> >> > > color,
    >> >> >> > > etc...
    >> >> >> > > Messing around with the xml I was able to get a couple of the
    >> >> >> > > colors
    >> >> >> > > to
    >> >> >> > > change but I'm still missing some. I believe the listbox 
    >> >> >> > > generates
    >> >> >> > > textboxes
    >> >> >> > > that you cant easily control from the Designer.
    >> >> >> > > Does anyone have any samples or helpful comments?
    >> >> >> > > Thanks,
    >> >> >> > > KC
    >> >> >> >
    >> >> >> >
    >> >> >> >
    >> >>
    >> >>
    >> >>
    >>
    >>
    >> 
    
    
    
    Tuesday, February 19, 2008 12:41 AM