Skip to content

WF-63696- Documentation for DrawItem Event#252

Open
Raghav-Sudhakar wants to merge 7 commits intohotfix/hotfix-v20.2.0.36from
WF-63696--DrawItem-Event-Documentation
Open

WF-63696- Documentation for DrawItem Event#252
Raghav-Sudhakar wants to merge 7 commits intohotfix/hotfix-v20.2.0.36from
WF-63696--DrawItem-Event-Documentation

Conversation

@Raghav-Sudhakar
Copy link
Copy Markdown
Contributor

Hi Team,

Please Review the content and share your concern.

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: WF-63696--DrawItem-Event-Documentation
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: WF-63696--DrawItem-Event-Documentation
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

Comment thread WindowsForms/TabControl/Events.md Outdated

### Customize the appearance of TabControlAdv while HotTracking

You can customize the appearance of the `TabControlAdv` while `HotTracking`. This can be achieved by handling the event, `DrawItem` in the `TabControlAdv`. The argument, `DrawTabEventArgs` gets the data for the `Syncfusion.Windows.Forms.Tools.TabControlAdv.DrawItem` event handler in the `TabControlAdv`. Within this event handler, check whether the TabItem is being HotTracked, and when it is, set the desired forecolor and backcolor to the `DrawTabEventArgs` object.
Copy link
Copy Markdown
Collaborator

@JeganRavichandran JeganRavichandran Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give a link to the class reference document for events and args.
What do you mean by hottracking?
When will this be fired?
If possible explain any usecase where this event be used.
How to enable/disable this feature? what is the default behavior?

Comment thread WindowsForms/TabControl/Events.md
Comment thread WindowsForms/TabControl/Events.md
Comment thread WindowsForms/TabControl/Events.md Outdated

{% highlight C# %}


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why there are so many unwanted empty lines?

Comment thread WindowsForms/TabControl/Events.md
Comment thread WindowsForms/TabControl/Events.md Outdated
Draws the text and image within the bounds specified.</td></tr>
</table>

N> Download demo application from [GitHub]
Copy link
Copy Markdown
Collaborator

@JeganRavichandran JeganRavichandran Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link to the sample is missing.

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: WF-63696--DrawItem-Event-Documentation
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: WF-63696--DrawItem-Event-Documentation
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

Comment thread WindowsForms/TabControl/Events.md Outdated

{% endtabs %}

![Before enabling the HotTrack property](TabControlAdv-Events_images/TabControlAdv-Events_img6.png)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take a snapshot with the mouse cursor.

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

The running CI Job is terminated due to changes committed on the source branch for this Merge Request and CI triggered for latest commit.

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

Build Status: INPROGRESS 🔃
Build Location: WF-63696--DrawItem-Event-Documentation

@SyncfusionBuild
Copy link
Copy Markdown
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: WF-63696--DrawItem-Event-Documentation
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0


HotTrack is used to change the appearance of the TabItem when the mouse pointer is over it. Set the HotTrack property to `True` to enable the HotTrack feature. The HotTrack property's default value is `false`. You can customize the appearance of the [TabControlAdv](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.TabControlAdv.html) while `HotTracking`. This can be achieved by handling the event, [DrawItem](https://help.syncfusion.com/windowsforms/tabcontrol/events#drawitem-event) in the TabControlAdv.

![Default appearance](TabControlAdv-Events_images/TabControlAdv-Events_img6.jpg)
Copy link
Copy Markdown
Collaborator

@JeganRavichandran JeganRavichandran Aug 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. give a proper file name to alt text for images. refer guideline. https://syncfusion.sharepoint.com/sites/GH/SEO/SitePages/Image%20Alt%20Text.aspx
  2. delete unwanted images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants