View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002122 | NoesisGUI | C# SDK | public | 2021-09-17 17:26 | 2021-09-17 17:26 |
Reporter | aschmitt | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 3.1 | ||||
Summary | 0002122: 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. | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-17 17:26 | aschmitt | New Issue |