add 'AffectsRender' flag to Hyperlink/TextCell HorizontalContentAlignment dps
This commit is contained in:
1 parent
d2509def2a
commit
de22fe5e33
2 files changed
+2
No files matched your search
@@ -204,6 +204,7 @@ namespace mbts.ui.controls {
|
||||
Control.HorizontalContentAlignmentProperty.AddOwner(typeof(HyperlinkCell),
|
||||
new FrameworkPropertyMetadata(
|
||||
HorizontalAlignment.Center,
|
||||
FrameworkPropertyMetadataOptions.AffectsRender |
|
||||
FrameworkPropertyMetadataOptions.AffectsArrange,
|
||||
(d, e) => ((HyperlinkCell)d)._gcr.horizontal_content_alignment = (HorizontalAlignment)e.NewValue));
|
||||
|
||||
|
||||
@@ -117,6 +117,7 @@ namespace mbts.ui.controls {
|
||||
Control.HorizontalContentAlignmentProperty.AddOwner(typeof(TextCell),
|
||||
new FrameworkPropertyMetadata(
|
||||
HorizontalAlignment.Center,
|
||||
FrameworkPropertyMetadataOptions.AffectsRender |
|
||||
FrameworkPropertyMetadataOptions.AffectsArrange,
|
||||
(d, e) => ((TextCell)d)._gcr.horizontal_content_alignment = (HorizontalAlignment)e.NewValue));
|
||||
|
||||
|
||||
Reference in new issue
Block a user