You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextBlockEditor : TypeEditor<TextBlock> is used in PropertyGrid for displaying readonly properties.
However, TextBlock control in WPF doesn't allow to override it's Template using a style.
Margin is set to (5,0,0,0) from inside SetControlProperties() of TextBlockEditor which takes precedence over any margin applied from style.
Suggested Solution
Use a Label control instead of TextBlock control for displaying readonly properties since WPF Label control allows overriding it's control template using a style.