Infragistics Ultragrid and UltraTabbedMdiManager theming


Author
Message
Jiri Brazda
Jiri Brazda
StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)
Group: StrataFrame Users
Posts: 78, Visits: 356
Is it possible to use Ultragrid and UltraTabbedMdiManager with Strataframe wrapper for Infragistics? Is it possible to get the theme of ultragrid changed when the application theme is changed by setting:

MicroFour.StrataFrame.UI.Windows.Forms.ApplicationTheme.Theme = ApplicationThemeName.BlueSkies

I have examined the wrapper class and haven't found wrapper for such controls :-(

Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
all StrataFrame themed controls in all opened forms are changed appropriatelly. Is it possible to achieve the same behavior with IG components like ultragrid?

You will have to manually implement the theme logic to the controls that you want to have it if they are not SF controls.  We did this for some 3rd party stuff in our medical software by just creating a class, inherited the desired control, and setting the properties.  There is no possible way that we (SF) could just know which properties to set on a 3rd party class dynamically.

As for the colors changing automatically, all you need to do is handle the ApplicationThemeChanged event and refresh the control.

I have found that when applying SandDunes theme, the ThemedMenuStrip color is set to blue color which doesn't seem to me to belong to the SandDunes theme...

Hmmm...couldn't reproduce this...it works fine on my side.  You may have the ThemeSupport property set to a value other than Full or ColorsOnly.  I have verified this and I know that this works as it should.

Jiri Brazda
Jiri Brazda
StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)StrataFrame User (224 reputation)
Group: StrataFrame Users
Posts: 78, Visits: 356
Ok, I will manage IG controls themes manually.

Regarding to the second point - the following is the prinscreen of the application where SandDunes theme is applied - everything is OK except the backcolor of menu. ThemeSupport of ThemedMenuStrip control is set to Full. With other themes it is OK.


Attachments
Pic02.jpg (114 views, 21.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Thanks, we'll look into it.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Jiri Brazda - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Jiri Brazda - 17 Years Ago
Jiri Brazda - 17 Years Ago
                     This one might help you in some way:...
Ivan George Borges - 17 Years Ago
                         [quote]all StrataFrame themed controls in all opened forms are changed...
Trent L. Taylor - 17 Years Ago
                             Ok, I will manage IG controls themes manually. Regarding to the...
Jiri Brazda - 17 Years Ago
                                 Thanks, we'll look into it.
Trent L. Taylor - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search