mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added TypeInfo for all relevant types Added comments Updated DependencyProperty to work with System::Type Fixed casing on PropertyMetadata
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
/*****************************************************************************
|
|
* CornerRadius.h *
|
|
* *
|
|
* System::Windows::CornerRadius definition file *
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
*****************************************************************************/
|
|
#ifndef _SYSTEM_WINDOWS_CORNERRADIUS_
|
|
#define _SYSTEM_WINDOWS_CORNERRADIUS_
|
|
|
|
#include <System/Interfaces.h>
|
|
|
|
namespace System
|
|
{
|
|
namespace Windows
|
|
{
|
|
/**
|
|
* Describes the characteristics of a rounded corner, such as can be applied to a System::Windows::Controls::Border.
|
|
*/
|
|
struct CornerRadius : IEquatable<CornerRadius>, Object
|
|
{
|
|
public:
|
|
int BottomLeft;
|
|
int BottomRight;
|
|
int TopLeft;
|
|
int TopRight;
|
|
|
|
CornerRadius();
|
|
CornerRadius(const int uniformValue);
|
|
CornerRadius(const int bottomLeft, const int bottomRight, const int topLeft, const int topRight);
|
|
CornerRadius(const CornerRadius &obj);
|
|
|
|
bool Equals(Object const * const obj) const;
|
|
bool Equals(const CornerRadius other) const;
|
|
int GetHashCode() const;
|
|
static const Type& GetType();
|
|
const String ToString() const;
|
|
|
|
bool operator==(const CornerRadius& right) const;
|
|
bool operator!=(const CornerRadius& right) const;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_WINDOWS_CORNERRADIUS_
|