【发布时间】:2016-01-13 22:40:43
【问题描述】:
我正在尝试弄清楚如何更改 AvalonEdit CodeCompletion 窗口的样式。但是,我无法找出 xaml 样式目标/属性的正确组合来更改它。我想做的主要事情是摆脱边界,但也许还有一些额外的变化。
这是我尝试过的 xaml。这些都不会影响 UI。
xmlns:ae="clr-namespace:ICSharpCode.AvalonEdit.CodeCompletion;assembly=ICSharpCode.AvalonEdit"
<Style TargetType="{x:Type ae:CompletionWindow}">
<Setter Property="WindowStyle" Value="None" />
</Style>
<Style TargetType="{x:Type ae:CompletionWindowBase}">
<Setter Property="WindowStyle" Value="None" />
</Style>
<Style TargetType="{x:Type ae:CompletionListBox}">
<Setter Property="Background" Value="Red" />
</Style>
<Style TargetType="{x:Type ae:CompletionList}">
<Setter Property="Background" Value="Orange" />
</Style>
【问题讨论】:
标签: wpf xaml avalonedit