■ Style 클래스 사용하기

------------------------------------------------------------------------------------------------------------------------

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Media;

 

Style style = new Style(typeof(TextBlock));

 

style.Setters.Add(new Setter(TextBlock.FontSizeProperty  , 96));

style.Setters.Add(new Setter(TextBlock.FontFamilyProperty, new FontFamily("Times New Roman")));

------------------------------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG