Hi,
can I somehow reuse existing xamDataGrid resources (onyx style for example) and apply them to other controls in my application so I get consistent look?
Thanks, Peter
Is there a way to reference the Style so I don't have to set the properties one by one? Something like <Button Style="{BUTTON_RESOURCE}" />
Hi Peter -
Just to add to Joe's comments -- we don't currently provide the brush files used by the DataPresenter for all of the the themes that ship with the control (Onyx for example). We do include ResourceDictionaries for the Default theme (includes Styles and brushes). Those are located in the DefaultStyles folder of your NA for WPF installation directory.
Brush brush = this.FindResource(RibbonBrushKeys.ButtonHoverCenterFillKey) as Brush;
if (brush != null)
this.label1.Background = brush;