0
這已經不是什麼祕密,WPF暴露出它的默認主題,例如這裏的 縮短版複選框模板的外觀如何檢查Microsoft.Windows.Themes
xmlns:theme="clr-namespace:Microsoft.Windows.Themes"
<ControlTemplate TargetType="{x:Type CheckBox}">
<BulletDecorator>
<BulletDecorator.Bullet>
<theme:BulletChrome />
</BulletDecorator.Bullet>
<ContentPresenter />
</BulletDecorator>
</ControlTemplate>
嘖嘖..這是偉大的,最完整的幫助(不!)
我其實是想看看查馬克路徑的模樣, 有沒有什麼辦法來觀察內部內容:
Microsoft.Win dows.Themes
不,它已經下載了這些主題,問題是關於它們中的元素。 您會看到我正在尋找駐留在Aero主題中的的內部樣式和模板。 –