Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Updated Wiki: Material controls

$
0
0

Material Controls

Only available in the Plus Edition

The toolkit's material controls (see list below) were designed to follow the color palettes and animations defined by the Material Design Specifications.

Each control exposes a MaterialAccent property, which represents the material color palette that will be applied to the control. Each color palette defines complimentary background and foreground colors in addition to any other required brushes, such as the selection and border brushes. Setting the MaterialAccentBrush or MaterialForeground properties will override the values defined by the color palette assigned to the MaterialAccent property.

Included Controls


<StackPanel>
      <!-- Using one of the predefined material palettes -->
      <xctk:MaterialButton Content="DeepPurple material palette"
                           MaterialAccent="DeepPurple"
                           Width="150"
                           Height="25" 
                           Margin="5" />
      <!-- Using a custom brush -->
      <xctk:MaterialButton Content="Custom colors"
                           MaterialAccentBrush="Aqua"
                           MaterialForeground="White"
                           Width="150"
                           Height="25"
                           Margin="5" />
  </StackPanel>

Material Design Color Palette

material_palette.png
---

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>