My UltraExplorerBar use style OutlookNavigationPane and ViewStyle Office2003 is very smart and beautiful. But when I set ViewStyle to office2007, it look very bad: group and Item always have double border line. So it isn't as beautiful as MS Outlook 2007.
I try to find solution to set Group, Item border to single but I can't. Well, I still use style Office2003 for my Product [:'(]
I wonder UltraExplorerBar style Office2007 will more beautifully in next release?
This probably isnt what you are looking for, but try this and see what you think.
Option 1: Change the border to be transparent.Groupsettings->AppearanceLarge->headerAppearance->BorderAlpha->Transparent
Option 2:Change the border color on the group header to Azure. (Say goodbye to thick ugle lines)Groupsettings->AppearanceLarge->headerAppearance->BorderColor->Azure
Option 3:Give the illusion the lines are smaller because the color blends into the header..Groupsettings->AppearanceLarge->headerAppearance->BorderColor->PowderBlue
Option 4:
Experiment with the GroupSettings->HeaderButtonStyle to see if there is anything you like. ButtonSoft or something else might be easier on your eyes.
Hi,
thank you for your answer. Option4 is the best workaround. But it is only a workaround.
Infragistics, is it possible to fix this in the next hotfix? When you offer a Office2007 style, I expect the same look like in Outlook 2007. The Office2003 style is the same like in Outlook 2003. Why not the Office2007 style?
Uhm!
I have waited for a long time. So, Infragistics can not fix it!
Anybody who holds a licensed subscription to NetAdvantage can report a bug. Assuming your boss purchased enough seats to cover the copy you are using, you can and should report this as a bug so you can receive a notification when the fix becomes available.
Infragistics 8.3 hasn't fixed this error. Oh, my god!
I'm a developer, my boss buy Infragistics so I can't report this problem as a bug.
Can anybody have right to report bug? Help me, please!
this.explorerBar.CreationFilter = new BorderSidesCreationFilter();
#region BorderSidesCreationFilterpublic class BorderSidesCreationFilter : IUIElementCreationFilter{ #region Member variables private Dictionary<UltraExplorerBarGroup, HeaderUIElement> recycledElements = null; #endregion Member variables
#region IUIElementCreationFilter implementation
void IUIElementCreationFilter.AfterCreateChildElements(UIElement parent) { GroupUIElement groupElement = parent as GroupUIElement;
if ( groupElement != null ) { UltraExplorerBarGroup group = groupElement.Group;
UltraExplorerBarGroupHeaderUIElement headerElement = groupElement.GetDescendant( typeof(UltraExplorerBarGroupHeaderUIElement), group ) as UltraExplorerBarGroupHeaderUIElement;
if ( headerElement != null ) { Rectangle rect = headerElement.Rect; HeaderUIElement recycledElement = null; if ( this.recycledElements != null ) { if ( this.recycledElements.TryGetValue(group, out recycledElement) ) this.recycledElements.Remove( group ); }
groupElement.ChildElements.Remove( headerElement );
headerElement = recycledElement != null ? recycledElement : new HeaderUIElement(groupElement); headerElement.Rect = rect; groupElement.ChildElements.Add( headerElement ); } } }
bool IUIElementCreationFilter.BeforeCreateChildElements(UIElement parent) { GroupUIElement groupElement = parent as GroupUIElement;
if ( this.recycledElements == null ) this.recycledElements = new Dictionary<UltraExplorerBarGroup,HeaderUIElement>();
HeaderUIElement existingElement = groupElement.GetDescendant( typeof(HeaderUIElement), group ) as HeaderUIElement;
if ( this.recycledElements.ContainsKey(group) ) this.recycledElements.Remove(group);
this.recycledElements.Add( group, existingElement ); } return false; }
#endregion IUIElementCreationFilter implementation
#region HeaderUIElement /// <summary> /// UltraExplorerBarGroupHeaderUIElement-derived element which only shows the bottom border. /// </summary> public class HeaderUIElement : UltraExplorerBarGroupHeaderUIElement { /// <summary> /// Creates a new instance of the class. /// </summary> public HeaderUIElement( UIElement parent ) : base( parent ){}
/// <summary> /// Returns which border sides are rendered for this element. /// </summary> public override Border3DSide BorderSides { get { return Border3DSide.Bottom; } } } #endregion HeaderUIElement}#endregion BorderSidesCreationFilter
Hi Brian, can you please send me the workaround using the IUIElementCreationFilter interface.
Thanks Tim
This issue will be addressed in a future release of the control. Anyone who is interested is encouraged to log an incident with Developer Support so that you receive a notification when the fix becomes available. In the meantime, this can be worked around rather easily using the IUIElementCreationFilter interface; post here if you are interested and I can provide an example.
Please note that this is a peer-to-peer forum, and not the appropriate place to report bugs. Anyone who has an issue that requires prompt resolution should always log an incident with Developer Support, from which you are guaranteed a quick turnaround.