View Issue Details

IDProjectCategoryView StatusLast Update
0002122NoesisGUIC# SDKpublic2021-09-17 17:26
Reporteraschmitt Assigned To 
PrioritynormalSeveritymajor 
Status newResolutionopen 
Product Version3.1 
Summary0002122: Setting Style property default value in code does not work
Description
    static MyControl()
    {
        DefaultStyleKeyProperty.OverrideMetadata(
            typeof(MyControl),
            new FrameworkPropertyMetadata(typeof(MyControl)));
        StyleProperty.OverrideMetadata(
            typeof(MyControl),
            new FrameworkPropertyMetadata(GetDefaultStyle()));
    }

This is currently not working. The style and the contained ControlTemplate are not applied.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-09-17 17:26 aschmitt New Issue