¡@

Home 

c# Programming Glossary: solidcolorbrush

How can I set the color of a selected row in DataGrid

http://stackoverflow.com/questions/1223280/how-can-i-set-the-color-of-a-selected-row-in-datagrid

just add this to your DataGrid. You can change it from a SolidColorBrush to any other brush such as linear gradient. DataGrid.Resources.. other brush such as linear gradient. DataGrid.Resources SolidColorBrush x Key x Static SystemColors.HighlightBrushKey Color #FF0000..

WPF MultiBinding Fails. Why?

http://stackoverflow.com/questions/1447055/wpf-multibinding-fails-why

Markup GroupBox BorderThickness 2 GroupBox.BorderBrush SolidColorBrush x Name Border SolidColorBrush.Color MultiBinding Converter.. 2 GroupBox.BorderBrush SolidColorBrush x Name Border SolidColorBrush.Color MultiBinding Converter StaticResource ConnectionAndLoggedInToBorderBrush.. Path IsConnected Binding Path IsLoggedIn MultiBinding SolidColorBrush.Color SolidColorBrush GroupBox.BorderBrush In the code behind..

Select Range of Text in WPF RichTextBox (FlowDocument) Programmatically

http://stackoverflow.com/questions/1454440/select-range-of-text-in-wpf-richtextbox-flowdocument-programmatically

TextElement.ForegroundProperty new SolidColorBrush Colors.Blue textRange.ApplyPropertyValue TextElement.FontWeightProperty.. TextElement.ForegroundProperty new SolidColorBrush color textRange.ApplyPropertyValue TextElement.FontWeightProperty..

C# Silverlight Datagrid - Row Color Change

http://stackoverflow.com/questions/1509714/c-sharp-silverlight-datagrid-row-color-change

if c null c.Status.Contains complete e.Row.Background new SolidColorBrush Colors.Green else e.Row.Background new SolidColorBrush Colors.Red.. SolidColorBrush Colors.Green else e.Row.Background new SolidColorBrush Colors.Red c# silverlight datagrid row share improve this..

How do I access a control inside a XAML DataTemplate?

http://stackoverflow.com/questions/16375375/how-do-i-access-a-control-inside-a-xaml-datatemplate

string.IsNullOrWhiteSpace _FirstName.Text new SolidColorBrush Colors.Red new SolidColorBrush Colors.White public List Control.. _FirstName.Text new SolidColorBrush Colors.Red new SolidColorBrush Colors.White public List Control AllChildren DependencyObject..

Stop highlighting selected item WPF ComboBox

http://stackoverflow.com/questions/3829315/stop-highlighting-selected-item-wpf-combobox

used for these purposes. Just add two extra styles SolidColorBrush x Key x Static SystemColors.HighlightBrushKey Color Transparent.. x Static SystemColors.HighlightBrushKey Color Transparent SolidColorBrush x Key x Static SystemColors.HighlightTextBrushKey Color Black..

WPF Styles/Template inheritance

http://stackoverflow.com/questions/7070421/wpf-styles-template-inheritance

0 0 0 1 CornerRadius 1 Border.BorderBrush SolidColorBrush Color #00000000 Border.BorderBrush Border Name border BorderThickness.. Background TemplateBinding Background Border.BorderBrush SolidColorBrush Color #D8D8D8 Border.BorderBrush ContentPresenter HorizontalAlignment.. Property BorderBrush TargetName border Setter.Value SolidColorBrush Color #939393 Setter.Value Setter Setter Property BorderBrush..