Questions tagged [customtaskpane]
110 questions
0
votes
1 answer
VSTO Outlook: Setting custom task pane height based on the screen resolution
I have an VSTO Outlook Add-in which shows a custom task pane (ctp). This ctp embeds a usercontrol which in turn contains an elementhost. The elementhost hosts an WPF user control.
At Add-in startup I create the ctp and I set it a fixed height, e.g.…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
Minimise winform without blocking Outlook functionality
I am working on a vsto plugin in which I've created a Form(WinForm) that has fields for long text that user has to copy from previous mails. Now, the issue i am facing is, whenever I minimise the winform, the whole Outlook gets minimised. And when I…

Akanksha_p
- 916
- 12
- 20
0
votes
0 answers
WPF Cannot unsubscribe from a RoutedEvent, not working. After unsubscribing it continues firing
I have an WPF User control in which I create a RoutedEventHandler. I want to raise an event notifying every time its height changes:
Wpfusercontrol.designer.cs:
public partial class Wpfusercontrol: System.Windows.Controls.UserControl
{
public…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: set custom tooltips on task pane buttons
I have been trying to set custom tooltips for custom task pane buttons, that is, close button and down-arrow button. I have seen they already have a tooltip set by default but I would like to change it to show a custom text. Is that possible? or…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Custom task pane height includes the titlebar or not?
When I set the height of the custom task pane (which is in points), this height includes the titlebar or not? Microsoft does not tell anything about it, I doubt if the height refers only to the content, I mean, the user control, or also it takes…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Prevent user from resizing the custom task pane
I have a custom task pane placed at the top and I don't want user to resize its height, I want to keep the height always the same. Also when user tries to resize it, I would like to show a messagebox saying he/she is not permitted to do so (without…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Avoid closing custom task pane
I have a custom task pane and now I am trying to catch the close event of the custom task pane. I have seen that there is no such event, instead there is the VisibleChanged event with does exactly the same, it is raised when visibility changes or it…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Use a form region or a custom task pane to implement a toolbar. Which best?
I want to create my custom toolbar at the top for explorer and inspector window. I want to make it ALWAYS visible. So which is the best approach, to use a custom task pane or a form region? Which best? What are the advantages and disavantages for…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: How to know the minimum height of a custom task pane
I have a custom task pane placed at the top of the Outlook. From what Microsoft says here in the remarks:
The minimum height depends on several factors, and can change in
future releases of Microsoft Office. If you try to set the Height
property to…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
Word VSTO add-in: Change task pane width on position changed
I have a UserControl which by default is anchored at the bottom like this:
var customTaskPaneContent = new CustomTaskPaneContent(jobId, _ipcClient, document, AddCustomTaskPane);
var customTaskPane = CustomTaskPanes.Add(customTaskPaneContent,…

Antonio Argentieri
- 147
- 2
- 13
0
votes
1 answer
VSTO Outlook: Change border and header background color of custom task pane
I have an VSTO Outlook Add-in. I have put a custom task pane at the top. This custom task pane contains an WPF user control.Now I am trying to change the background color of the header (title bar) and borders of the custom task pane (I am not…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Embed an WPF user control within a form region
Currently I have an WPF user control embedded within an Outlook custom task pane. The problem with the task pane is that you cannot remove the title bar so I was thinking about using a form region instead and reusing the existing WPF user control I…

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
VSTO Outlook: Remove title bar from custom task pane
Is it possible to remove or hide the title bar from an Outlook custom task pane? If so how. If not, maybe using a hack? Using a hack, how?

Willy
- 9,848
- 22
- 141
- 284
0
votes
1 answer
Excel VSTO application UI is not showing properly for (only) excel 365
We have Excel VSTO add-in, which works all excel version except Excel 365, plugin UI does not show correctly, user have to drag and expand it then only it is visible.
Is there any particular setting which we have to do, so that whatever UI we have…

Amol Vaidya
- 11
- 4
0
votes
1 answer
VSTO Outlook: Custom Task Pane height
Why the custom task pane height is set in points?
What do points mean? If I want to set the custom pane height to work with all the display resolutions, how do I need to set this? using some kind of formula? For example I set as below in a screen…

Willy
- 9,848
- 22
- 141
- 284