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

Re: Ribbon Splitbutton with custom user control popup and need for on click...

Hi Ken,The attached property by itself doesn't actually do anything.  Our ButtonBase and ComboBox base controls expose that dependency property as a public StaysOpenOnClick property on their respective...

View Article


Re: Open my application with (on) the ribbon backstage

Hi Stephane,Good, I'm glad you got it going.  I knew it could be done in a Load event since we've done that before for another customer, but it appears that the RibbonWindow.Load event must fire before...

View Article


Re: Ribbon Splitbutton with custom user control popup and need for on click...

I will take some time and put together a simple sample.  I have to believe that others have struggled with this.  The only viable solution I can find is to trap the previewleftmousedown on any controls...

View Article

Re: Ribbon Splitbutton with custom user control popup and need for on click...

Hi Ken,Controls will often move focus elsewhere or close popups if they are clicked while within a focus scope.  That is something that is hardcoded in many native WPF controls, in our own controls,...

View Article

Re: Ribbon Splitbutton with custom user control popup and need for on click...

In my case I am not moving focus.  A usercontrol used as popup content that contains a standard radiobutton it will cause the popup to close when the radiobutton is clicked.  How would you work around...

View Article


Re: Ribbon Splitbutton with custom user control popup and need for on click...

Hi Ken,If you use Reflector on ButtonBase.OnLostMouseCapture (the native WPF one that RadioButton inherits), you can see that they call Keyboard.Focus(null) if not in the main focus scope.  That's...

View Article

Re: Ribbon Splitbutton with custom user control popup and need for on click...

I will experiment a bit with the information you gave me and get back to you.  Thank you for the insight.

View Article

Ribbon contextual tab and docking:ToolWindow

Hi,I was wondering, what would be the way to go to have a Ribbon contextual tab to appear only when a particular docking:ToolWindow is active?Thanks,Stephane

View Article


Re: Ribbon contextual tab and docking:ToolWindow

Hi Stephane,You would programmatically set the ContexutalTabGroup.IsActive property to true while the tab group should be visible (when the tool window is active) and back to false when another window...

View Article


Re: Ribbon contextual tab and docking:ToolWindow

Yes, of course, I know that. This is the easy part.My question is:how to link it to the activation of a given docking:ToolWindow? There is no IsActive in this control, for instance.

View Article

Re: Ribbon contextual tab and docking:ToolWindow

I believe Stephane was referering more precisly to what to bind to the ContexutalTabGroup.IsActive Property and I was wondering the same thing.

View Article

Re: Ribbon contextual tab and docking:ToolWindow

I believe you could watch the DockSite.LastActiveToolWindow property to know which is active.  There also is a DockSite.LastActiveToolWindowChanged event that you could handle to know when that...

View Article

RibbonGallery ItemTemplate Overlap issues

I am trying to use the RibbonGallery with the ItemTemplate containing 4 TextBlock with bound strings.When the font size changes or the language, the gallery items tend to overlap.It seems the next...

View Article


Re: RibbonGallery ItemTemplate Overlap issues

Hi Michel,The gallery items need to be a fixed size and all the same size to work properly.  Make sure you either use TextWrapping or TextTrimming on your TextBlock and set a fixed size (Width/Height)...

View Article

How to use the office 2013 ribbon backstage style

Hi, we are using the ribbon feature from the Actipro package, and we have tried to understand how to configure it to use the Office 2013 theme so that the backstage will look like the one in Word...

View Article


Re: How to use the office 2013 ribbon backstage style

Martin Assuming that you are already using the metro theme and have that configured then  add the following xaml in your ribbon to give you a basic starting point:...

View Article

Re: How to use the office 2013 ribbon backstage style

Hi Martin,Do you mean the Backstage that covers the whole ribbon? That is available with any of the Metro themes we offer. If you run our main ribbon demo with the Metro themes, you should see it...

View Article


Re: How to use the office 2013 ribbon backstage style

We are using the theme per default. We did not configure that part. So probably this our problem. What is the resource to link to?Here is what we have configure so far (this is really the...

View Article

Re: How to use the office 2013 ribbon backstage style

The office 2013 backstage style is done through what? Is it done through a style in a xaml file or by special controls to use, or both?

View Article

Re: How to use the office 2013 ribbon backstage style

I took a look to the getting started and we are more advance than this. Our ribbon is basically done, backstage is there, quick access toolbars, screen tips, etc.We are just stuck with the 2010 look.

View Article
Browsing all 1458 articles
Browse latest View live