一个 WPF 控件库,在学习 WPF 开发时创作
- 目前在 develop 分支创作
- MVVM 框架使用我另一个库 OpenView
- 我会尽可能的把这个库的全部问题修复
- 不会增加新功能
- 如果时间允许,我会开发一个基于 Avalonia 的界面库(与 WPF 写法类似,但可以跨主流平台)
- .Net 7.0 Windows Desktop
- Clone 代码到本地
- 打开项目
WPF 控件库,支持 .Net 7.0 Windows Desktop
Home Page: https://github.com/oneo-me/Arthas-WPFUI
License: MIT License
hi how i can use combobox? i cant see combo in my window.
<Metro:MetroGroupBox Header="组合框">
<Grid>
<StackPanel>
<Metro:MetroComboBox Text="MetroComboBox" Icon="Resources/editIcon.png" Title="默认标题">
<Metro:MetroComboBoxItem Content="MetroComboBoxItem0" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem1" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem2" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem3" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem4" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem5" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem6" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem7" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem8" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem9" />
</Metro:MetroComboBox>
<Metro:MetroComboBox Text="MetroComboBox" />
<Metro:MetroComboBox Text="MetroComboBox" Title="默认标题">
<Metro:MetroComboBoxItem Content="MetroComboBoxItem0" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem1" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem2" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem3" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem4" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem5" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem6" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem7" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem8" />
<Metro:MetroComboBoxItem Content="MetroComboBoxItem9" />
</Metro:MetroComboBox>
</StackPanel>
</Grid>
</Metro:MetroGroupBox>
but i cant see combobox in my window how i can fix this? i need combo strongly
hi please add command binding option to this controls
for example in wpf default button wa have:
<Button Command="{Binding LoginCommand}" Content="Button"
but in Arthas Controls None of them have this feature.
电脑显示分辨率3840*2560,win10系统显示设置缩放200%
When I put the MetroButton in StackPanel ,the height will reduce 1 pixel if pressing the button.
I found the reason.It is in MetroButton.xaml file
<VisualState x:Name="Pressed">
<Storyboard>
<DoubleAnimation Storyboard.TargetName="move" Storyboard.TargetProperty="(UIElement.Opacity)" To="0" Duration="0:0:0.03" />
<DoubleAnimation Storyboard.TargetName="back" Storyboard.TargetProperty="(UIElement.Opacity)" To="0.7" Duration="0:0:0.03" />
<ThicknessAnimation Storyboard.TargetName="back" Storyboard.TargetProperty="(Margin)" To="0,2,0,0" Duration="0:0:0.03" />
</Storyboard>
</VisualState>
The Margin should fix it to "0,3,0,0".Please fix it.
please add Calendar and DatePicker Control
如题!谢谢!
I am not able to use the MetroTextBox in the Password style. Is there anything I can do to fix it up?
Thanks.
我将代码下载下来过后,用VS2017打开项目,VS提示“项目文件不完整。缺少预期导入";
是因为我电脑上没有安装.net core 3.0 SDK的原因吗?
在半年之前我从GitHub上下载的代码是能打开的。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.