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