Then, the DateControl is added to the group via the NavBarGroup.ControlContainer property. To allow control embedding, the NavBarGroup.GroupStyle property is set to ControlContainer. The following sample code embeds a DateControl into a NavBarControl’s group. To specify the height of the group’s control container, use the NavBarGroup.GroupClientHeight property.īefore accessing and customizing the ControlContainer, ensure that the group has been added to the NavBarControl.Groups collection. In this case, the ControlContainer property returns null. Switching the NavBarGroup.GroupStyle property from NavBarGroupStyle.ControlContainer to another value destroys the control container and all the controls it owns. The ControlContainer property allows you to access the group’s control container. These will be displayed by the group when it is expanded. If this setting is applied, the group creates and displays a container control - a surface on which you can place any controls. ![]() Setting the NavBarGroup.GroupStyle property to NavBarGroupStyle.ControlContainer allows you to display arbitrary controls within a NavBar group. Public Overridable Property ControlContainer As NavBarGroupControlContainer Property Value TypeĪ NavBarGroupControlContainer object representing the container displayed by the group when the NavBarGroupStyle.ControlContainer style is applied. See the following topic for more information: Hints and Tooltips.Public virtual NavBarGroupControlContainer ControlContainer To access this property, you can use the DefaultToolTipController component or a custom controller assigned to the ToolTipController property. The controller automatically converts regular tooltips to super tooltips. To replace regular tooltips with super tooltips, set the ToolTipController.ToolTipType property to SuperTip. Enable the AllowHtmlText property to use HTML tags in the super tooltip. Use the SuperTip property to assign a super tooltip to a control. ![]() Use the ImageOptions event argument to assign a raster or vector image to the processed tooltip. To display a custom image in a specific regular tooltip, handle the BeforeShow event. To display a custom image in all regular tooltips, use the controller’s ImageList and ImageIndex properties. Use the controller’s IconSize property to specify the image size. ToolTipIconType - A regular tooltip’s predefined icon. If the title is not specified, it is not displayed. ToolTipTitle - A regular tooltip’s title. ![]() HTML tags allow you to format the text: size, style, hyperlinks, etc. Use the AllowHtmlTextInToolTip property to specify whether to parse HTML tags in the text. You can use line breaks in regular tooltips. ![]() If the text is not specified, the tooltip is not displayed even if the title is specified. Use the following properties to specify a regular tooltip’s content: If the ShowToolTips option is enabled, tooltips are shown when the mouse pointer hovers over the control. This allows you to mark certain date cells with custom text and images.ĬalendarControlBase.ContextButtons and CalendarControlBase.ContextButtonOptions properties.ĬalendarControlBase.ContextButtonCustomize, CalendarControlBase.ContextButtonClick, CalendarControlBase.CustomContextButtonToolTip and CalendarControlBase.ContextButtonValueChanged events.ĬalendarControlBase.MinValue and CalendarControlBase.MaxValueĬalendarControlBase.SelectionMode, CalendarControlBase.SelectionBehavior, CalendarControlBase.DateTime, CalendarControlBase.SyncSelectionWithEditValue, CalendarControlBase.SelectedRangesĬalendarControlBase.ShowWeekNumbers, CalendarControlBase.WeekNumberRule CalendarControlBase.CustomWeekNumberĭevExpress controls support regular and super tooltips. Multiple views of the calendar control, including a touch-aware UI.Ībility to display context buttons in calendar cells.
0 Comments
Leave a Reply. |