OBG: Questions & Answers

I get a lot of questions regarding OBG from Partners and Developers and I thought it would be a good idea to share some of the Q&A with you here. If you have further questions, don´t hesitate to contact me here via a comment or via e-mail to stefan.zimmermann@combionic.com

Q&A 1: Will the application always need the configuration editor – this is quite difficult to get end users to setup?

The config editor just writes into the config xml file. If you would like to hide this complexity you can set the corresponding values directly e.g. via code. You can do that within a setup routine or any batch/exe that runs with the appropriate rights.

In OBG 2011 we will even deliver a component that can be used to set the configuration values programmatically. This way you can provide the user with your own configuration dialog or you can set the configuration from within your solution.

Q&A 2: Is there a way of changing the interface?  Currently one of the advantages is the speed at which you can create new regions but can these be shown in different ways?

It depends on what you want to configure. First OBG supports some theme-ing in the sense of Office themes. Available themes are detailed in the documentation.

Second you can customize a lot of the look and feel via a CustomTheme assembly that you copy into the OBG.dll path. An example for such a customization is already in the SDK.

Below is a list of some of the things you can configure.

ButtonHighlightColor, Color

ButtonHighlightGradientColor, Color

ButtonHighlightBorderColor, Color

ButtonHighlightGradientMode, Drawing2D.LinearGradientMode

Company, String

DesktopMainTitle, String

MessageBoxTitle, String

NavigateBackImage, Image

NavigateForwardImage, Image

RefreshImage, Image

FavoritesImage, Image

SearchImage, Image

OptionsImage, Image

MinimizeImage, Image

ExpandImage, Image

NavigationPaneColor, Color

NavigationPaneGradientColor, Color

NavigationPaneBorderColor, Color

NavigationPaneGradientMode, Drawing2D.LinearGradientMode

NavigationPaneUseButtonHighlight, Boolean

OBGMainTitle, String

OBGRibbonTab, OBGRibbonGroup, String

OBGMenuLabel, String

OBGShortTitle, String

RegionCloseImage, Image

RegionMenuImage, Image

RegionOpenImage, Image

RegionHeaderColor, Color

RegionHeaderGradientColor, Color

RegionHeaderBorderColor, Color

RegionHeaderFont, Font

RegionHeaderGradientMode, Drawing2D.LinearGradientMode

RegionHeaderHeight, Integer

RegionHeaderTextAlignment, ContentAlignment

RegionHeaderUseButtonHighlight, Boolean

SelectionColor, Color

StatusPaneColor, Color

StatusPaneGradientColor, Color

StatusPaneBorderColor, Color

StatusPaneFont Font

StatuspaneGradientMode, Drawing2D.LinearGradientMode

StatusOKImage, Image

StatusPaneTextAlignment, ContentAlignment


StatusUseButtonHighlight, Boolean

StatusWarningImage, Image

TaskPaneTitle, String

ViewPaneColor, Color

ViewPaneGradientColor, Color

ViewPaneGradientMode, Drawing2D.LinearGradientMode

ViewPaneHeaderColor, Color

ViewPaneHeaderGradientColor, Color

ViewPaneHeaderBorderColor, Color

ViewPaneHeaderFont, Font

ViewPaneHeaderGradientMode, Drawing2D.LinearGradientMode

ViewPaneHeaderHeight, Integer

ViewPaneMenuImage, Image

ViewPaneHeaderTextAlignment, ContentAlignment

ViewPaneHeaderTextColor, Color

ViewPaneHeaderUseButtonHighlight, Boolean