misc: format codes.

This commit is contained in:
Zhang Dian
2024-10-15 16:03:42 +08:00
parent 39be4fd1cd
commit dc20007039
27 changed files with 92 additions and 102 deletions

View File

@@ -7,7 +7,7 @@
<Setter Property="Template">
<ControlTemplate TargetType="u:DisableContainer">
<Panel>
<ContentPresenter Content="{TemplateBinding Content}"></ContentPresenter>
<ContentPresenter Content="{TemplateBinding Content}" />
<iri:PureRectangle Background="Transparent" IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.IsEnabled, Converter={x:Static BoolConverters.Not}}" Cursor="No" ToolTip.Tip="{TemplateBinding DisabledTip}"/>
</Panel>
</ControlTemplate>