title | description | type | page_title | slug | tags | res_type |
---|---|---|---|---|---|---|
Cannot access Freezable System.Windows.Media.SolidColorBrush across threads because it cannot be frozen |
InvalidOperationException occurs with the Windows8 Telerik theme |
troubleshooting |
InvalidOperationException Cannot access Freezable SolidColorBrush across threads because it cannot be frozen |
kb-common-windows8-brushes |
windows8,theming,brushes,exception |
kb |
Product | Version |
---|---|
Telerik UI for WPF | 2023.3.1114 |
InvalidOperationException occurs in some cases when using the Telerik Windows8 theme in a scenario with multiple UI threads.
InvalidOperationException was unhandled by user code Message=Cannot access Freezable 'System.Windows.Media.SolidColorBrush' across threads because it cannot be frozen.
To fix the issue, call the Freeze
method on the Windows8Palette
object.
{{region kb-common-windows8-brushes-0}} Telerik.Windows.Controls.Windows8Palette.Palette.Freeze(); {{endregion}}