1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/Windows/DependencyObject.h

37 lines
1.1 KiB
C
Raw Normal View History

/*****************************************************************************
* DependencyObject.h *
* *
* System::Windows::DependencyObject definition file *
* Copyright (c) XFX Team. All rights reserved *
*****************************************************************************/
#ifndef _SYSTEM_WINDOWS_DEPENDENCYOBJECT_
#define _SYSTEM_WINDOWS_DEPENDENCYOBJECT_
#include <System/Collections/Generic/Dictionary.h>
using namespace System::Collections::Generic;
namespace System
{
namespace Windows
{
// Represents an object that participates in the dependency property system.
class DependencyObject
{
private:
Dictionary<String, Object *> dependencyProperties;
protected:
DependencyObject();
public:
void ClearValue(const String& property);
// Returns the Object stored in the property, or NULL if the property did not exist.
Object* GetValue(const String& property) const;
void SetValue(const String& property, Object* value);
};
}
}
#endif //_SYSTEM_WINDOWS_DEPENDENCYOBJECT_