title: How to change FlagEnumEditor Color in Telerik WPF?
body: <p>I am using WPF Telerik FlagEnumEditor in my column named <em>Statistiken</em>. FlagEnumEditor enables me to store any combination of the values that are defined in a enumerator. </p>
  
  <p>The problem I am facing is that I can't change its color. I would like it to be transparent or white, just like all the other columns in my RadGridView are. </p>
  
  <p>I have set the FlagEnumEditor BorderBrush and Background to Transparent and some other colors, but nothing happens. Am I missing something ? I don't understand why the color does not change here. How can I change the color of column <em>Statistiken</em> to be the same color as column <em>Datentyp</em> ?</p>
  
  <p><a href="https://i.stack.imgur.com/XEVqk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XEVqk.png" alt="columns"></a></p>
  
  <p>Stitistiken Column XAML Source Code:</p>
  
  <pre><code>&lt;telerik:GridViewDataColumn x:Name="CheckComboBoxColumn"
                              Header="Statistiken"
                              IsReadOnly="True"&gt;
     &lt;telerik:GridViewDataColumn.CellTemplate&gt;
          &lt;DataTemplate&gt;
                &lt;telerik:FlagEnumEditor BorderBrush="Transparent"
                                        Background="Transparent"
                                        Margin="-4,0,-2,0"
                                        Value="{Binding Aggregates, Mode=TwoWay}"
                                        EnumType="viewModels:Aggregates" /&gt;
          &lt;/DataTemplate&gt;
     &lt;/telerik:GridViewDataColumn.CellTemplate&gt;
  &lt;/telerik:GridViewDataColumn&gt;
  </code></pre>
  
  <p>Enum Aggregates:</p>
  
  <pre><code>[Flags]
  public enum Aggregates
  {
      All = -1,
      None = 0,
      Avg = 1,
      Count = 2,
      Min = 4,
      Max = 8,
      Sum = 16
  }
  </code></pre>
  
  <hr>
  
  <p>Datentyp Column XAML Source Code, but here I am using RadComboBox as I don't need to combine Enum values:</p>
  
  <pre><code>&lt;telerik:GridViewDataColumn Header="Datentyp"&gt;
      &lt;telerik:GridViewDataColumn.CellTemplate&gt;
          &lt;DataTemplate&gt;
               &lt;telerik:RadComboBox BorderBrush="Transparent"
                                    Background="Transparent"
                                    Margin="-5,0,-2,0"
                                    ItemsSource="{Binding DataContext.ColumnTypes, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}},UpdateSourceTrigger=PropertyChanged}"
                                    SelectedItem="{Binding ColumnType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /&gt;
          &lt;/DataTemplate&gt;
               &lt;/telerik:GridViewDataColumn.CellTemplate&gt;
      &lt;telerik:GridViewDataColumn.CellEditTemplate&gt;
           &lt;DataTemplate&gt;
                &lt;telerik:RadComboBox BorderBrush="Transparent"
                                     Background="Transparent"
                                     Margin="0,0,0,0"
                                     ItemsSource="{Binding DataContext.ColumnTypes, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}},UpdateSourceTrigger=PropertyChanged}"
                                     SelectedItem="{Binding ColumnType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /&gt;
          &lt;/DataTemplate&gt;
      &lt;/telerik:GridViewDataColumn.CellEditTemplate&gt;
  &lt;/telerik:GridViewDataColumn&gt;
  </code></pre>
  
  <p>ps. I am also open for solutions with the same effect as FlagEnumEditor.</p>