CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Location
    San Diego CA
    Posts
    378

    Converter for Value in Trigger

    I would like to have a ItemsControl display different color when a item is clicked. My natural tendency was to have a trigger from where I can set the color I want ..

    <Trigger Property="IsPressed" Value="True">
    <Setter Property="Background" TargetName="bdrBackground" Value="{get this value from a converter }"/>
    </Trigger>

    Can we set the Value from a converter?
    þ|êâšë rä†è rëþ|ïëš †hª† hë|þëd

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Converter for Value in Trigger

    As far as I know you can. Have you tried it and it doesn't work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured