当前位置:网站首页>Open source C # WPF control library -newbeecoder UI usage guide (I)

Open source C # WPF control library -newbeecoder UI usage guide (I)

2022-06-23 21:37:00 User 7152477

  1. introduction

Often before winform Software , The system comes with some simple controls , The style and appearance are relatively simple , The extended functions and styles are not very complete . But when used wpf When developing , There are few similar open source components , And the slightly better ones are still charged .

Newbeecoder.UI Open source control download https://share.weiyun.com/MwgWJM8Y

Later I explored wpf Built in controls , Expand some common functions on the system's own components . Find out WPF It's very powerful , Newbeecoder.UI be based on .net framework 4.0 Framework development , Good compatibility with higher versions .

As long as you have good design drawings , Basically you can use Newbeecoder.UI Developed according to the design drawing , The following demonstrates the controls developed by the open source control library :

Because there are many controls , So here's the table of contents :

1. Button

2. Radio buttons

3. Check box

4. List box

5. Input box

6. Password box

7.IP Input box

8. A drop-down box

9. Date time

10. The calendar

11. switch

12. Progress bar

13. tab

14. Tree view

15. Plus and minus numbers

16. form

17. Color selector

18. Group control

19. Collapse menu

20. Message box

21. window

22. notice

23. Pagination

24. Drop down the multiple selection box

Buttons are common components in software development ,Newbeecoder.UI There are several buttons . These are the basic buttons 、 No buttons available 、 Repeat button 、 Multiple buttons 、 Radio button .

One 、 Basic button usage :

<NbButton Style="{DynamicResource NormalButtonStyle}" Margin="5" Content=" General buttons "/>
<NbButton Style="{DynamicResource DefaultButtonStyle}" Margin="5" Content=" Default button "/>
<NbButton Style="{DynamicResource SuccessButtonStyle}" Margin="5" Content=" Success button "/>
<NbButton Style="{DynamicResource InfoButtonStyle}" Margin="5" Content=" Information buttons "/>
<NbButton Style="{DynamicResource WarningButtonStyle}" Margin="5" Content=" Warning button "/>
<NbButton Style="{DynamicResource DangerButtonStyle}" Margin="5" Content=" Danger button "/>

Basic button class NbButton, stay Button Extend attributes and styles on .

Two 、 No buttons available

<NbButton Style="{DynamicResource NormalButtonStyle}" Margin="5" Content=" General buttons " IsEnabled="False"/>
<NbButton Style="{DynamicResource DefaultButtonStyle}" Margin="5" Content=" Default button " IsEnabled="False"/>
<NbButton Style="{DynamicResource SuccessButtonStyle}" Margin="5" Content=" Success button " IsEnabled="False"/>
<NbButton Style="{DynamicResource InfoButtonStyle}" Margin="5" Content=" Information buttons " IsEnabled="False"/>
<NbButton Style="{DynamicResource WarningButtonStyle}" Margin="5" Content=" Warning button " IsEnabled="False"/>
<NbButton Style="{DynamicResource DangerButtonStyle}" Margin="5" Content=" Danger button " IsEnabled="False"/>

3、 ... and 、 Repeat button

<NbRepeatButton Style="{DynamicResource NormalRepeatButtonStyle}" Margin="5" Content=" General buttons "/>
<NbRepeatButton Style="{DynamicResource DefaultRepeatButtonStyle}" Margin="5" Content=" Default button "/>
<NbRepeatButton Style="{DynamicResource SuccessRepeatButtonStyle}" Margin="5" Content=" Success button "/>
<NbRepeatButton Style="{DynamicResource InfoRepeatButtonStyle}" Margin="5" Content=" Information buttons "/>
<NbRepeatButton Style="{DynamicResource WarningRepeatButtonStyle}" Margin="5" Content=" Warning button "/>
<NbRepeatButton Style="{DynamicResource DangerRepeatButtonStyle}" Margin="5" Content=" Danger button "/>

Duplicate button class NbRepeatButton, stay RepeatButton Extend attributes and styles on .

Four 、 Multiple buttons

<NbToggleButton Style="{DynamicResource NormalToggleButtonStyle}" Margin="5" Content=" Multiple buttons "/>
<NbToggleButton Style="{DynamicResource DefaultToggleButtonStyle}" Margin="5" Content=" Default button "/>
<NbToggleButton Style="{DynamicResource SuccessToggleButtonStyle}" Margin="5" Content=" Success button "/>
<NbToggleButton Style="{DynamicResource InfoToggleButtonStyle}" Margin="5" Content=" Information buttons "/>
<NbToggleButton Style="{DynamicResource WarningToggleButtonStyle}" Margin="5" Content=" Warning button "/>
<NbToggleButton Style="{DynamicResource DangerToggleButtonStyle}" Margin="5" Content=" Danger button "/>

Multi select button class NbToggleButton, stay ToggleButton Extend attributes and styles on .

5、 ... and 、 Radio button

<NbRadioButton Style="{DynamicResource NormalRadioButtonStyle}" Margin="5" Content=" Radio button "/>
<NbRadioButton Style="{DynamicResource DefaultRadioButtonStyle}" Margin="5" Content=" Default button "/>
<NbRadioButton Style="{DynamicResource SuccessRadioButtonStyle}" Margin="5" Content=" Success button "/>
<NbRadioButton Style="{DynamicResource InfoRadioButtonStyle}" Margin="5" Content=" Information buttons "/>
<NbRadioButton Style="{DynamicResource WarningRadioButtonStyle}" Margin="5" Content=" Warning button "/>
<NbRadioButton Style="{DynamicResource DangerRadioButtonStyle}" Margin="5" Content=" Danger button "/>

Radio button class NbRadioButton, stay RadioButton Extend attributes and styles on .

Need to use Newbeecoder.UI Open source control library or customized UI Control development please send me a private letter .

原网站

版权声明
本文为[User 7152477]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112221352507147.html