This is a migrated thread and some comments may be shown as answers.

[Solved] How to bind the BorderBrush property to the IsEnabled property?

1 Answer 101 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rami Abughazaleh
Top achievements
Rank 1
Rami Abughazaleh asked on 31 Aug 2010, 11:21 PM
Hi.

Using RadControls_for_Silverlight_4_2010_2_0812

I would like to bind the BorderBrush property to the IsEnabled property so that when radGridView.IsEnabled == false, the BorderBrush would automatically be set to Colors.Gray for example.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 01 Sep 2010, 07:05 AM
Hello,

 It will be not problem to do that however you will need to assign special IValueConverter for the binding to convert boolean to color. 

All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Rami Abughazaleh
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or