WPF UserControl Design Time Size

后端 未结 9 869
[愿得一人]
[愿得一人] 2020-11-30 22:36

When creating a UserControl in WPF, I find it convenient to give it some arbitrary Height and Width values so that I can view my changes in the Visual Studio designer. When

9条回答
  •  天涯浪人
    2020-11-30 23:10

    Here are a list of Design-Time Attributes in the Silverlight Designer. They are the same for the WPF designer.

    It lists all of the d: values available in the Designer such as d:DesignHeight, d:DesignWidth, d:IsDesignTimeCreatable, d:CreateList and several others.

提交回复
热议问题