Completed
Last Updated: 15 Dec 2017 12:35 by ADMIN
ADMIN
Hristo
Created on: 06 Dec 2017 09:21
Category: Form
Type: Bug Report
1
FIX. RadRibbonForm - the title bar is not themed after setting the AllowAero property to false in a DPI-aware application
How to reproduce: create a DPI-aware application and set the AllowAero property of the ribbon form to false, the titlebar will not be themed

Workaround: override the ScaleControl method of in the RadRibbonForm instance in the project
Protected Overrides Sub ScaleControl(ByVal factor As SizeF, ByVal specified As BoundsSpecified)
    MyBase.ScaleControl(factor, specified)

    If Me.HasOwnToolbar AndAlso Me.AllowTheming AndAlso Not Me.IsDesignMode AndAlso Me.IsInitialized Then
        Me.AllowTheming = False
    End If
End Sub
0 comments