![](https://img-blog.csdnimg.cn/20201014152315569.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzI5MTk4MjMz,size_16,color_FFFFFF,t_70)
<Window x:Class="WpfApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:lib="http://lan.design.com"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Button lib:Assists.UseDisabledDesign="True" Content="禁用" IsEnabled="False" Height="30" Width="100"></Button>
</Grid>
</Window>
-
效果展示
![](https://img-blog.csdnimg.cn/20201014152917757.gif)