Converter for Value in Trigger
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Converter for Value in Trigger

  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 online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,273

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center