mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-23 01:38:40 +08:00
Merge pull request #53 from weile0769/pr-staging
Fix(Drawer): 修复显示关闭按钮的 IsShowCloseButton 属性支持
This commit is contained in:
@@ -377,6 +377,7 @@ public class Drawer : Control,
|
||||
BindUtils.RelayBind(this, PlacementProperty, _container, DrawerContainer.PlacementProperty);
|
||||
BindUtils.RelayBind(this, TitleProperty, _container, DrawerContainer.TitleProperty);
|
||||
BindUtils.RelayBind(this, IsShowMaskProperty, _container, DrawerContainer.IsShowMaskProperty);
|
||||
BindUtils.RelayBind(this, IsShowCloseButtonProperty, _container, DrawerContainer.IsShowCloseButtonProperty);
|
||||
BindUtils.RelayBind(this, IsMotionEnabledProperty, _container, DrawerContainer.IsMotionEnabledProperty);
|
||||
BindUtils.RelayBind(this, CloseWhenClickOnMaskProperty, _container,
|
||||
DrawerContainer.CloseWhenClickOnMaskProperty);
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
Content="{TemplateBinding Content}"
|
||||
ContentTemplate="{TemplateBinding ContentTemplate}"
|
||||
IsMotionEnabled="{TemplateBinding IsMotionEnabled}"
|
||||
IsShowCloseButton="{TemplateBinding IsShowCloseButton}"
|
||||
DialogSize="{TemplateBinding DialogSize}"/>
|
||||
</atom:MotionActor>
|
||||
</Panel>
|
||||
|
||||
Reference in New Issue
Block a user