1
我试图通过代码设置我的Ellipse
的Margin
。我怎样才能设置的p
?在Windows 8 XAML项目中设置C++/CX中的保证金属性
auto p = ref new Windows::UI::Xaml::Shapes::Ellipse();
p->Height=100.0;
p->Width=100.0;
//p->Margin="36,19,0,0";
auto t = ref new Windows::UI::Xaml::Thickness(10.0,20.0,30.0,40.0);