Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/259.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 扩展WPF工具包-更改按钮大小_C#_Wpf_Wpf Extended Toolkit - Fatal编程技术网

C# 扩展WPF工具包-更改按钮大小

C# 扩展WPF工具包-更改按钮大小,c#,wpf,wpf-extended-toolkit,C#,Wpf,Wpf Extended Toolkit,我正在开发一个WPF应用程序,它使用扩展WPF工具包中的向导类。我已经设置了主页,但是我想更改按钮的大小 这是我的XAML: <Window x:Class="wizard.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xml

我正在开发一个WPF应用程序,它使用扩展WPF工具包中的向导类。我已经设置了主页,但是我想更改按钮的大小

这是我的XAML:

<Window x:Class="wizard.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <xctk:Wizard FinishButtonClosesWindow="True" Next="Wizard_Next" x:Name="Wizard">
            ...
        </xctk:Wizard>
    </Grid>
</Window>

...

正如您在窗口底部看到的,有三个按钮。我想改变它们的尺寸。我已经阅读了Xceed的WPF工具包的文档,但是在任何地方都找不到按钮的源代码


任何帮助都将不胜感激

你说的“但我找不到按钮的源代码”是什么意思按钮是
xctk:Wizard
控件的一部分。。。如果没有样式属性,则只能覆盖整个窗口的默认按钮样式以更改其大小。。。。或者获取soure wpftoolkit和Modify抱歉,我的意思是我找不到任何关于按钮以及如何更改其属性的文档。我只能更改每个事件的事件。例如,对于“下一步”按钮,我只能指定单击时要调用的方法,但我无法更改size属性。好的,我已检查了源。。。您可以自定义WizardPage,但更改Wizard/Themes/Generic.xaml(提供自己的主题)谢谢。我已经更改了每个按钮的源代码和FontSize属性,但它不适用于我的项目…不过,正确的源代码文件是Wizard/Themes/Aero2.NormalColor.xaml。谢谢你的帮助!