DataPresenterBrushKeys Class

Static class that exposes the resource keys used by the datapresenter elements.
Public MustInherit NotInheritable Class DataPresenterBrushKeys 
public static class DataPresenterBrushKeys 

These keys are referenced in the templates of the datapresenter elements via dynamic references. Therefore, the default brushes can be easily changed by defining replacement brushes, keyed with these keys, in resources anywhere within the resolution scope of their use. For example,

Note: These brushes are normally added to the Resources collection of the window or the application.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also