Esempio n. 1
0
 static HeaderBlock()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderBlock), new FrameworkPropertyMetadata(typeof(HeaderBlock)));
     VerticalAlignmentProperty.OverrideMetadataWithDefaultValue(typeof(HeaderBlock), VerticalAlignment.Center);
     HorizontalAlignmentProperty.OverrideMetadataWithDefaultValue(typeof(HeaderBlock), HorizontalAlignment.Left);
 }
Esempio n. 2
0
 static InfoBlock()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(InfoBlock), new FrameworkPropertyMetadata(typeof(InfoBlock)));
     VerticalAlignmentProperty.OverrideMetadataWithDefaultValue(typeof(InfoBlock), VerticalAlignment.Top);
     HorizontalAlignmentProperty.OverrideMetadataWithDefaultValue(typeof(InfoBlock), HorizontalAlignment.Right);
 }