自定义窗体标题栏及尺寸调整手柄完成
This commit is contained in:
16
MVVMExample/Themes/DefaultStyles.axaml
Normal file
16
MVVMExample/Themes/DefaultStyles.axaml
Normal file
@@ -0,0 +1,16 @@
|
||||
<Styles xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Design.PreviewWith>
|
||||
<Border Padding="20">
|
||||
<!-- Add Controls for Previewer Here -->
|
||||
</Border>
|
||||
</Design.PreviewWith>
|
||||
|
||||
<!-- Add Styles Here -->
|
||||
<Style Selector="Button.maxButton">
|
||||
|
||||
</Style>
|
||||
<Style Selector="Button.maxButton:pointerover">
|
||||
|
||||
</Style>
|
||||
</Styles>
|
||||
Reference in New Issue
Block a user