Is there any way to apply a StyleRepository object to a control? I know I can do something like:
Theme currenTheme = ThemeRepository.FindTheme(ThemeResolutionService.ApplicationThemeName);
StyleRepository repositoryFromTheme = currenTheme.FindRepository("DisabledForeColor");
PropertySetting styleForeColor = repositoryFromTheme.FindSetting("ForeColor");
Color colorToSet = (Color)styleForeColor.Value;
myTextBox.Forecolor = colorToSet;
However, if I have multiple properties to set (say, multiple colors and maybe some transparency or a background image or something), this can get a bit tedious and it lacks flexibility. So, what I'd like to do is just take the StyleRepository object and apply it directly to the control. Alternately, I'd be fine with looping through the settings collection and applying each of those individually so long as I didn't have to hard code the names of the PropertySettings into my code. Something like:
foreach (PropertySetting currentPropertySetting in repositoryObjectFromTheme.Settings)
{
genericRadControl.SOMETHING = currentPropertySetting;
}
would work for me fine as well.
Any suggestions?


Hello,
There is a bug in gridview printiing with mode landscape only
with this gridview :
http://creiler.free.fr/window_gridview.jpg
My PrintStyle :
With oStyle
.FitWidthMode = PrintFitWidthMode.NoFitCentered
.PrintGrouping = False
.PrintSummaries = True
.PrintHeaderOnEachPage = True
.PrintHiddenColumns = False
.PrintHierarchy = True
.PrintAllPages = True
.HierarchyIndent = 0
.CellFont = New System.Drawing.Font("Arial", 8, FontStyle.Regular)
.HeaderCellFont = New System.Drawing.Font("Arial", 8, FontStyle.Regular)
.SummaryCellFont = New System.Drawing.Font("Arial", 8, FontStyle.Bold)
.GroupRowFont = New System.Drawing.Font("Arial", 8, FontStyle.Bold)
End With
normal :
http://creiler.free.fr/gridview1.jpg
landscape :
http://creiler.free.fr/gridview2.jpg
Summary cells are shifting

Hi,
I have to add a ContextMenu to my MultiColumnComboBox. I already added a Winforms ContextMenuStrip and also set the ContextMenu Property.
Now when I click on my dropDownButton of the ComboBox the right ContextMenu is shown but if I click in the middle of the textboxelement of the Combobox I get another one I do not want. Setting the ContextMenu of the textboxelement doesnt change that behaviour.
THIS-OBJECT:MultiColumnComboBoxElement:TextBoxElement:TextBoxItem:HostedControl:ContextMenuStrip = THIS-OBJECT:contextMenuStripMain
Does anyone have an idea how to solve this ?
Sincerely,
Dominik

Hello
- Are there means to style hyperlinks in a html formatted RadLabel similar to css (.hover, .visited etc.)? couldn't find anything in the docs.
- When using a RadLabel with a hyperlink on a Rad Doc Document, the link seems to stay in .active mode after the webpage has opened. When I reopen the document the link goes into .visited style (as expected). I'd like it to revert to initial state or go into .visited state.
Regards
Erwin


Hello,
I am new to use your program. I want to add simple table with 2 columes and multiple rows. Do you have any example ??
Regards,
Dani
