Quantcast
Channel: Ribbon for WPF - Recent Posts
Viewing all 1458 articles
Browse latest View live

Re: Upgrading ActiPro controls from current 11.1.545.0 to 12.2.573.0

$
0
0

I'm again trying to upgrading all the actipro controls being used in my project from current 11.1.545.0 to to 13.1.581.0.

Our release is due mid of next month, please do the needful for following

  1. Themes which we are not able to idetified its equivalent in 13.1.xxx . Need to know the mapping in 13.1.581.0 (18 in total)

  2. Verify that the themes are correctly mapped. (57 in total)

 

List of themes for which mapping need to be identified

1) RibbonRoyaleNormalColorDictionary.ScreenTipBackgroundBrushKey
2) RibbonRoyaleNormalColorDictionary.ScreenTipBorderBrushKey
3) RibbonRoyaleNormalColorDictionary.ScreenTipForegroundBrushKey
4) themes:AssetResourceKeys.WindowTitleBarForegroundActiveBrushKey
5) themes:DockingCommonDictionary.ToolWindowContainerTitleBarForegroundActiveBrushKey
6) themes:DockingCommonDictionary.WindowTitleBarInnerBorderInactiveBrushKey
7) themes:NavigationBarCommonDictionary.BorderBrushKey
8) themes:NavigationBarCommonDictionary.PaneHeaderBackgroundSelectedBrushKey
9) themes:NavigationBarCommonDictionary.WindowBackgroundBrushKey
10) themes:RibbonCommonDictionary.EditControlBorderNormalBrushKey
11) themes:RibbonCommonDictionary.ScreenTipBackgroundBrushKey
12) themes:RibbonCommonDictionary.ScreenTipBorderBrushKey
13) themes:RibbonCommonDictionary.StatusBarSliderTrackDarkBrushKey
14) themes:RibbonCommonDictionary.WindowBackgroundBrushKey
15) themes:RibbonCommonDictionary.WindowBorderActiveBrushKey
16) themes:RibbonCommonDictionary.WindowTitleBarApplicationNameForegroundActiveBrushKey
17) themes:RibbonCommonDictionary.WindowTitleBarBackgroundActiveBrushKey
18) themes:RibbonCommonDictionary.WindowTitleBarDocumentNameForegroundActiveBrushKey

 

List of themes for which mapping need to be verified

1) themes:ExplorerBarCommonDictionary.ExpanderBackgroundNormalBrushKey -> navigation:ExplorerBar.ExpanderBackgroundNormalBrushKey
2) themes:ExplorerBarCommonDictionary.ExpanderHeaderForegroundNormalBrushKey -> navigation:ExplorerBar.ExpanderHeaderForegroundNormalBrushKey
3) themes:ExplorerBarCommonDictionary.ExpanderStyleKey -> navigation:ExplorerBar.ExpanderStyleKey
4) themes:NavigationBarCommonDictionary.ExpanderStyleKey -> SharedResourceKeys.ExpanderStyleKey
5) themes:EditorsCommonDictionary.ForegroundDisabledBrushKey -> themes:AssetResourceKeys.ControlForegroundDisabledBrushKey
6) themes:EditorsCommonDictionary.ForegroundNormalBrushKey -> themes:AssetResourceKeys.ControlForegroundNormalBrushKey
7) themes:EditorsCommonDictionary.BackgroundDisabledBrushKey -> themes:AssetResourceKeys.EditBackgroundDisabledBrushKey
8) themes:RibbonCommonDictionary.EditControlBackgroundDisabledBrushKey -> themes:AssetResourceKeys.EditBackgroundDisabledBrushKey
9) themes:RibbonCommonDictionary.EditControlBackgroundHoverBrushKey -> themes:AssetResourceKeys.EditBackgroundHoverBrushKey
10) themes:RibbonCommonDictionary.EditControlButtonPartBackgroundHoverBrushKey -> themes:AssetResourceKeys.EditBackgroundHoverBrushKey
11) themes:EditorsCommonDictionary.BackgroundNormalBrushKey -> themes:AssetResourceKeys.EditBackgroundNormalBrushKey
12) themes:RibbonCommonDictionary.EditControlBackgroundNormalBrushKey -> themes:AssetResourceKeys.EditBackgroundNormalBrushKey
13) themes:EditorsCommonDictionary.BorderDisabledBrushKey -> themes:AssetResourceKeys.EditBorderDisabledBrushKey
14) themes:RibbonCommonDictionary.EditControlBorderDisabledBrushKey -> themes:AssetResourceKeys.EditBorderDisabledBrushKey
15) themes:EditorsCommonDictionary.BorderNormalBrushKey -> themes:AssetResourceKeys.EditBorderNormalBrushKey
16) themes:RibbonCommonDictionary.MenuItemForegroundDisabledBrushKey -> themes:AssetResourceKeys.MenuItemForegroundDisabledBrushKey
17) themes:RibbonCommonDictionary.MenuItemIconColumnBackgroundBrushKey -> themes:AssetResourceKeys.MenuItemIconColumnBackgroundNormalBrushKey
18) themes:RibbonCommonDictionary.MenuSeparatorDarkBrushKey -> themes:AssetResourceKeys.MenuSeparatorBackgroundNormalBrushKey
19) themes:RibbonCommonDictionary.MenuSeparatorLightBrushKey -> themes:AssetResourceKeys.MenuSeparatorHighlightNormalBrushKey
20) themes:RibbonCommonDictionary.RibbonGalleryBackgroundNormalBrushKey -> themes:AssetResourceKeys.RibbonBackgroundNormalBrushKey
21) themes:RibbonCommonDictionary.StatusBarItemBackgroundAlternateBrushKey -> themes:AssetResourceKeys.StatusBarItemBackgroundNormalBrushKey
22) themes:RibbonCommonDictionary.StatusBarSliderButtonBackgroundNormalBrushKey -> themes:AssetResourceKeys.StatusBarSliderThumbHorizontalBackgroundNormalBrushKey
23) themes:RibbonCommonDictionary.StatusBarSliderBorderBrushKey -> themes:AssetResourceKeys.StatusBarSliderThumbHorizontalBorderNormalBrushKey
24) themes:RibbonCommonDictionary.RibbonControlSmallBackgroundHoverBrushKey -> themes:AssetResourceKeys.ToolBarButtonBackgroundHoverBrushKey
25) themes:RibbonCommonDictionary.RibbonControlSmallBackgroundPopupOpenBrushKey -> themes:AssetResourceKeys.ToolBarButtonBackgroundOpenedBrushKey
26) themes:RibbonCommonDictionary.RibbonControlOuterBorderHoverSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonBorderCheckedHoverBrushKey
27) themes:RibbonCommonDictionary.RibbonControlOuterBorderSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonBorderCheckedNormalBrushKey
28) themes:RibbonCommonDictionary.RibbonControlOuterBorderHoverBrushKey -> themes:AssetResourceKeys.ToolBarButtonBorderHoverBrushKey
29) themes:RibbonCommonDictionary.RibbonControlOuterBorderPopupOpenBrushKey -> themes:AssetResourceKeys.ToolBarButtonBorderOpenedBrushKey
30) themes:RibbonCommonDictionary.RibbonControlLabelForegroundDisabledBrushKey -> themes:AssetResourceKeys.ToolBarButtonForegroundDisabledBrushKey
31) themes:RibbonCommonDictionary.RibbonControlLabelForegroundBrushKey -> themes:AssetResourceKeys.ToolBarButtonForegroundNormalBrushKey
32) themes:RibbonCommonDictionary.RibbonControlInnerBorderHoverSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonInnerBorderCheckedHoverBrushKey
33) themes:RibbonCommonDictionary.RibbonControlInnerBorderSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonInnerBorderCheckedNormalBrushKey
34) themes:RibbonCommonDictionary.RibbonControlInnerBorderHoverBrushKey -> themes:AssetResourceKeys.ToolBarButtonInnerBorderHoverBrushKey
35) themes:RibbonCommonDictionary.RibbonControlInnerBorderPopupOpenBrushKey -> themes:AssetResourceKeys.ToolBarButtonInnerBorderOpenedBrushKey
36) themes:RibbonCommonDictionary.RibbonControlLargeBackgroundHoverSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonLargeBackgroundCheckedHoverBrushKey
37) themes:RibbonCommonDictionary.RibbonControlLargeBackgroundSelectedBrushKey -> themes:AssetResourceKeys.ToolBarButtonLargeBackgroundCheckedNormalBrushKey
38) themes:RibbonCommonDictionary.RibbonControlLargeBackgroundHoverBrushKey -> themes:AssetResourceKeys.ToolBarButtonLargeBackgroundHoverBrushKey
39) themes:RibbonCommonDictionary.RibbonControlLargeBackgroundPressedBrushKey -> themes:AssetResourceKeys.ToolBarButtonLargeBackgroundPressedBrushKey
40) themes:RibbonCommonDictionary.StatusBarSliderTrackLightBrushKey -> themes:AssetResourceKeys.WindowBackgroundNormalBrushKey
41) themes:DockingCommonDictionary.ToolWindowContainerTitleBarBackgroundActiveBrushKey -> themes:DockingResourceKey.ToolWindowContainerTitleBarBackgroundActiveBrushKey
42) ribbon:RibbonStyles.ButtonKey -> themes:SharedResourceKeys.ButtonBaseStyleKey
43) ribbon:RibbonStyles.CheckBoxKey -> themes:SharedResourceKeys.CheckBoxStyleKey
44) themes:RibbonCommonDictionary.ContextMenuOuterBorderBrushKey -> themes:SharedResourceKeys.ContextMenuStyleKey
45) themes:RibbonCommonDictionary.RibbonControlDropDownArrowBrushKey -> themes:SharedResourceKeys.DropDownArrowGlyphTemplateKey
46) ribbon:RibbonStyles.RadioButtonKey -> themes:SharedResourceKeys.RadioButtonStyleKey
47) themes:RibbonCommonDictionary.StatusBarResizeGripDarkBrushKey -> themes:SharedResourceKeys.ResizeGripStyleKey
48) ribbon:RibbonStyles.ScrollViewerAlternateKey -> themes:SharedResourceKeys.ScrollViewerStyleKey
49) ribbon:RibbonStyles.ScrollViewerKey -> themes:SharedResourceKeys.ScrollViewerStyleKey
50) ribbon:RibbonStyles.StatusBarSliderKey -> themes:SharedResourceKeys.SliderStyleKey
51) ribbon:RibbonStyles.StatusBarSliderDecreaseButtonKey -> themes:SharedResourceKeys.StatusBarEmbeddedSliderDecreaseButtonBaseStyleKey
52) ribbon:RibbonStyles.StatusBarSliderIncreaseButtonKey -> themes:SharedResourceKeys.StatusBarEmbeddedSliderIncreaseButtonBaseStyleKey
53) ribbon:RibbonStyles.StatusBarItemAlternateKey -> themes:SharedResourceKeys.StatusBarItemStyleKey
54) ribbon:RibbonStyles.StatusBarKey -> themes:SharedResourceKeys.StatusBarStyleKey
55) ribbon:RibbonStyles.StatusBarSeparatorAlternateKey -> themes:SharedResourceKeys.StatusBarStyleKey
56) ribbon:RibbonStyles.TextBoxKey -> themes:SharedResourceKeys.TextBoxBaseStyleKey
57) ribbon:RibbonStyles.ToolTipKey -> themes:SharedResourceKeys.ToolTipStyleKey


Re: Upgrading ActiPro controls from current 11.1.545.0 to 12.2.573.0

$
0
0

Hi Piyush,

If you have any questions on some of these remaining ones, it's pretty easy to look in the old version's default themes where the brush was used and then see how its used in the new version's default themes.

For instance, then you can see things like how the various ScreenTip* brushes now use themes:AssetResourceKeys.ToolTip*.  There are a number of Window*, WindowTitleBar*, Edit*, DockingWindowContainer*, and NavigationPaneHeader* brushes that are used for most of the rest in your list.

I believe the status bar slider track is now: StatusBarSliderTrackHorizontalBackgroundNormalBrushKey.

The rest of your mappings look pretty good offhand.

Re: Upgrading ActiPro controls from current 11.1.545.0 to 12.2.573.0

$
0
0

Hi,

Is there any document related to the changes (mapping of old version with the new one).

The help file provided with the setup is occasionally not helpful.

Re: Upgrading ActiPro controls from current 11.1.545.0 to 12.2.573.0

$
0
0

Yes, we include a full release history that is available in the Sample Browser.  That shows all the changes and enhancements made for each version.  If there are breaking changes, which are rare, then we generally go into more detail on them as needed in the various "Converting" topics in the documentation.

The release history info is also posted in our Announcements forum, but it's easier to read in the Sample Browser since it's all together there.

How to I change the selected tab's foreground color for a ribbon backstage tab?

$
0
0

I'm overwriting the default backstage tab colors in my application by specifying new colors for the brush keys like so:

I can't seem to find the key that specifies the foreground text color for the tab header (in this case, "Item 2").

How would I change the text color of the selected item ("Item 2") to a different color in XAML?

Disabling context menu on ribbon button

$
0
0

All ribbon buttons inherit their context menu from the ribbon. Is there a way to stop this?

I have a ribbon button in the popup content of a popup button on a ribbon. When I right click the button, I get the option to minimize the ribbon. This makes no since when I'm using the ribbon. I tried 

ContextMenu="{x:Null}"

 but this did no good.

Is there a way to override the button's context menu?

Re: How to I change the selected tab's foreground color for a ribbon backstage tab?

$
0
0

Hi Mick,

That one is BackstageTabItemForegroundSelectedBrushKey.

Re: Disabling context menu on ribbon button

$
0
0

Hi David,

Please take a look at the "Customizing Context Menus" topic in the "Controls" section of the Ribbon documentation.  That tells you how you can customize context menus.


Removing the gradient at the bottom the the metro light theme

$
0
0

At the bottom edge of the ribbon in the metro light theme, there's a small gradiant that gives the ribbon a drop shadow. How can I remove that? Thanks.

Re: Overlay for ribbon window

$
0
0

Just for everyone else to understand. The application menu of the Actipro ribbon is rendered on the adorner layer. So we finally had to move our overlay to the adorner layer as well.

Re: Removing the gradient at the bottom the the metro light theme

$
0
0

Hello, unfortunately at this time it's built into the Ribbon's template.  What happens is that area is used to show a contextual tab group color (if one is selected) and otherwise falls back to showing the Ribbon's BorderBrush.  The 3-4px high area there has a gradient OpacityMask, which is why you see a subtle fade out of the border color.  You'd need to clone and update the Ribbon template to remove that fade.

Re: Disabling context menu on ribbon button

$
0
0

I don't what to custimize it. I want to turn it off. Allowing ribbion minimize in in the content of a popup makes no sense. The ribbon minimizie command should only apper in the ribbon tabs. Not on every button.

Re: Disabling context menu on ribbon button

$
0
0

Hi David,

Sorry but that's the only way you can hide it, by doing the customization.

Nested PopupButton ALWAYS closes outermost Popup on click

$
0
0

I am struggling to keep all popup content from closing when a NESTED PopupButton is clicked.  By NESTED, I mean a PopupButton that resides within the content of another PopupButton.  The nested button always causes the outer popup to close, regardless of the StaysOpenOnClick property value. 

I've also noticed that placing the PopupButton in a Ribbon as opposed to somewhere else on the window causes the Popup to close one level sooner.

Is there anyway to do this? 

PopupButtons would be SO USEFUL as UI elements if this simple characteristic could be satisfied.

Thanks,

Kevin

Re: MVVM with Tabs and Groups

$
0
0

I have also had to get "too creative", when simply binding a RibbonGroup template to a view model collection would be so easy.  Please look into providing better MVVM support to the Ribbon as you have the Docking Windows.


Re: Nested PopupButton ALWAYS closes outermost Popup on click

$
0
0

Hi Kevin,

Can you make a new simple sample project that shows the issues and email that to our support address so we can debug it?  Please reference ths thread and rename the .zip file extension so it doesn't get spam blocked.  Thanks!

Ribbon.Visibility detaches with MetroLight theme

$
0
0

In the latest build of the ribbon controls, the Ribbon.Visibility property detatches bindings the second time the bound property is set. This seems to happen in MetroLight/MetroWhite theme. Changing to OfficeBlack, it works just fine.

Initial startup:

System.Windows.Data Warning: 56 : Created BindingExpression (hash=1669506) for Binding (hash=59837824)
System.Windows.Data Warning: 58 : Path: 'LoginViewModel.IsLoginVisible'
System.Windows.Data Warning: 61 : BindingExpression (hash=1669506): Default update trigger resolved to PropertyChanged
System.Windows.Data Warning: 62 : BindingExpression (hash=1669506): Attach to ActiproSoftware.Windows.Controls.Ribbon.Ribbon.Visibility (hash=9111029)
System.Windows.Data Warning: 67 : BindingExpression (hash=1669506): Resolving source
System.Windows.Data Warning: 70 : BindingExpression (hash=1669506): Found data context element: Ribbon (hash=9111029) (OK)
System.Windows.Data Warning: 71 : BindingExpression (hash=1669506): DataContext is null
System.Windows.Data Warning: 65 : BindingExpression (hash=1669506): Resolve source deferred
System.Windows.Data Warning: 67 : BindingExpression (hash=1669506): Resolving source
System.Windows.Data Warning: 70 : BindingExpression (hash=1669506): Found data context element: Ribbon (hash=9111029) (OK)
System.Windows.Data Warning: 78 : BindingExpression (hash=1669506): Activate with root item MainViewModel (hash=36689595)
System.Windows.Data Warning: 108 : BindingExpression (hash=1669506): At level 0 - for MainViewModel.LoginViewModel found accessor RuntimePropertyInfo(LoginViewModel)
System.Windows.Data Warning: 104 : BindingExpression (hash=1669506): Replace item at level 0 with MainViewModel (hash=36689595), using accessor RuntimePropertyInfo(LoginViewModel)
System.Windows.Data Warning: 101 : BindingExpression (hash=1669506): GetValue at level 0 from MainViewModel (hash=36689595) using RuntimePropertyInfo(LoginViewModel): LoginViewModel (hash=33449458)
System.Windows.Data Warning: 108 : BindingExpression (hash=1669506): At level 1 - for LoginViewModel.IsLoginVisible found accessor RuntimePropertyInfo(IsLoginVisible)
System.Windows.Data Warning: 104 : BindingExpression (hash=1669506): Replace item at level 1 with LoginViewModel (hash=33449458), using accessor RuntimePropertyInfo(IsLoginVisible)
System.Windows.Data Warning: 101 : BindingExpression (hash=1669506): GetValue at level 1 from LoginViewModel (hash=33449458) using RuntimePropertyInfo(IsLoginVisible): 'True'
System.Windows.Data Warning: 80 : BindingExpression (hash=1669506): TransferValue - got raw value 'True'
System.Windows.Data Warning: 82 : BindingExpression (hash=1669506): TransferValue - user's converter produced 'Collapsed'
System.Windows.Data Warning: 89 : BindingExpression (hash=1669506): TransferValue - using final value 'Collapsed'

Setting the property the first time:

System.Windows.Data Warning: 95 : BindingExpression (hash=1669506): Got PropertyChanged event from LoginViewModel (hash=33449458)
System.Windows.Data Warning: 101 : BindingExpression (hash=1669506): GetValue at level 1 from LoginViewModel (hash=33449458) using RuntimePropertyInfo(IsLoginVisible): 'False'
System.Windows.Data Warning: 80 : BindingExpression (hash=1669506): TransferValue - got raw value 'False'
System.Windows.Data Warning: 82 : BindingExpression (hash=1669506): TransferValue - user's converter produced 'Visible'
System.Windows.Data Warning: 89 : BindingExpression (hash=1669506): TransferValue - using final value 'Visible'

Setting property the second time:

System.Windows.Data Warning: 79 : BindingExpression (hash=14890402): Deactivate
System.Windows.Data Warning: 103 : BindingExpression (hash=14890402): Replace item at level 0 with {NullDataItem}
System.Windows.Data Warning: 103 : BindingExpression (hash=14890402): Replace item at level 1 with {NullDataItem}
System.Windows.Data Warning: 63 : BindingExpression (hash=14890402): Detach

Re: Ribbon.Visibility detaches with MetroLight theme

$
0
0

Hi Bjørnar,

If the IsRibbonVisibleWithBackstage property is set to false (which I believe it is in Metro themes), RibbonWindow puts a binding on the Ribbon's Visibility property to hide it when Backstage opens.

If you need to control visibility yourself, put your binding on a containing element of Ribbon instead so that your binding won't get wiped out.

How to remove menu items in ribbon's contextmenu?

$
0
0

Hi,

When I right click the ribbon, the context menu shows,and it has three items: Add to quick access toolbar, Show quick access tool bar below the ribbon,

Minimize the ribbon. Now I want to remove two items:Add to quick access toolbar, Show quick access tool bar below the ribbon.

At the same time , the Customize quick access toolbar not hide, but remove the item in it : Show below the ribbon.

 if I set QuickAccessToolBarLocation="None", the Customize quick access toolbar will hide, I want to keep it, just remove the item in it :Show below the ribbon.

How to do it?

Re: Ribbon.Visibility detaches with MetroLight theme

Viewing all 1458 articles
Browse latest View live