/***************************************************************************** * PropertyMetaData.h * * * * System::Windows::PropertyMetaData definition file * * Copyright (c) XFX Team. All rights reserved * *****************************************************************************/ #ifndef _SYSTEM_WINDOWS_PROPERTYMETADATA_ #define _SYSTEM_WINDOWS_PROPERTYMETADATA_ namespace System { namespace Windows { /** * Defines certain behavior aspects of a dependency property, including conditions it was registered with. */ template class PropertyMetadata { public: /** * Gets the default value for the dependency property. */ T const DefaultValue; /** * Creates a new instance of the PropertyMetaData class using a property default value. * * @param defaultValue * A default value for the property where this System::Windows::PropertyMetadata is applied. */ PropertyMetadata(T defaultValue); }; /////////////////////////////////////////////////////////////////////// template PropertyMetadata::PropertyMetadata(T const defaultValue) : DefaultValue(defaultValue) { } } } #endif //_SYSTEM_WINDOWS_PROPERTYMETADATA_