diff options
Diffstat (limited to 'src/ui/controls/border_delegate.h')
-rw-r--r-- | src/ui/controls/border_delegate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/controls/border_delegate.h b/src/ui/controls/border_delegate.h index 12c5444a..5a7dfbed 100644 --- a/src/ui/controls/border_delegate.h +++ b/src/ui/controls/border_delegate.h @@ -7,6 +7,12 @@ namespace cru::ui::controls class BorderProperty : public PropertyChangedNotifyObject { public: + using Ptr = std::shared_ptr<BorderProperty>; + static Ptr Create() + { + return std::make_shared<BorderProperty>(); + } + constexpr static auto brush_property_name = L"Brush"; constexpr static auto width_property_name = L"Width"; constexpr static auto stroke_style_property_name = L"StrokeStyle"; |