HtmlLinkLabel class 1.0
Downloads:
Publisher: Jeff Key
File size: 3KB
OS: Windows Vista, 2003, XP, 2000, 98
Date added: 2009-10-27
Homepage: http://weblogs.asp.net/jkey/
Category: Development
HtmlLinkLabel class 1.0 Description
"HtmlLinkLabel class ."
BSEditor: The LinkLabel class provided in System.Windows.Forms is nice, especially when the entire Text of the control is the hyperlink. Unfortunately, things get a bit harrier when the link is a subset of the text. If you want multiple links in the control, it really gets messy and you need to create the links programmatically. Not only that, you need to manually wire in a handler, usually to launch a web page. Who needs that?
HtmlLinkLabel is a subclass of LinkLabel that takes a string (via the TextHtml property) with embedded HTML anchor tags (""). When the user clicks a link, System.Diagnostics.Process.Start(string) is called with the text in the "href" attribute passed as the parameter.
If you would like to have the click do something other than start a process, you can subclass HtmlLinkLabel and override OnLinkClicked. The Link property of LinkLabelLinkClickedEventArgs contains a property called LinkData that references an HtmlLinkLabel.HtmlLinkLabelInfo object. The HtmlLinkLabel.HtmlLinkLabelInfo contains three properties: Href, Text and Index. The first two are self-explanatory and the third is the order of occurance of the link in the text. The index is only of interest if you can't key off of the href or text because you have two or more controls with the same href and text. you can free download HtmlLinkLabel class 1.0 now.
HtmlLinkLabel class 1.0 Keywords
HtmlLinkLabel class 1.0 Related Software
- Receive Mail Class Library AwPopLE
Receives mail messages by using the POP3 protocol. - List View Sort Class
List View Sort Class that was developed by Asterworld. - ContactGenie - Message Class Modifier
Message Class Modifier for MS Outlook contacts - Change, Copy, Move, Delete - ControlPaintTester
Find the source useful since everything is done with reflection. - Little Image Browser
You can view any images as icons with this app, but it was made specifically. - SingleDrive
Display all of your local and network hard drives in a single view - Version Info
Displays all referenced assemblies. - Whidbey Project Converter
Attempts to convert a Whidbey C# build file to a Visual C# 2003 csproj file. - Access Query Analyzer
Quicker to write one instead of trying to find one on the internet - IsDebug
A small debug tool. - GacDump
When you run it, it puts the GAC's assembly names and versions into a text file. - System Monitor
The ubiquitous URL has been around for what seems like an eternity - NCover Browser
Drag & drop file on app to load, File|Reload to reload. - Message Dialog
A Code of Message Dialog. - Object State Browser control
Oftentimes I find myself writing quick little treeview apps to inspect the state - Clipboard Viewer
It's simply an WebBrowser control on a form. - CreateShortcut
Drag and drop a file onto the Start menu while holding down CTRL+SHIFT. - Temp File Manager
This class creates a temp folder for your temp files. - Ruler
Ruler (and source) is now hosted on CodePlex. - TextBoxBalloonTip class
Display a balloon on a TextBox on Windows XP. - NetworkDriveInfo
Find some free disk space gets tiresome after the second machine - HtmlLinkLabel class
HtmlLinkLabel class . - NCoverGui
Command line tools for Ncover,automatically shows report after running! - HighColorIcon class
.NET's support for high-color alpha channel icons is nice, but inconsistent. - Snippet Compiler
Snippet Compiler compiles snippets. - Folder Size Browser
Folder Size Browser (and source) is now hosted on CodePlex - Base62 struct
Display as much alphanumeric info in as little space as possible. - NetPing
Figure out what its new address was! - XmlDocViewer
Make copying XPaths from an instance XML document easier!
HtmlLinkLabel class 1.0 Publisher's Software
Popular Searches
Hot Downloads Software
New Release Software