xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
<Setter Property="shell:WindowChrome.WindowChrome">
<Setter.Value>
<WindowChrome ResizeBorderThickness="5"
CaptionHeight="40"
GlassFrameThickness="-1"
/>
</Setter.Value>
</Setter>
when the
WindowChrome
class is applied to our window, it automatically sets WindowStyle="None"
and ResizeMode
to "NoResize
"
沒有留言:
張貼留言