Gets the collection containing the links to put in the Custom Links dropdown.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public EditorLinkCollection Links { get; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property Links As EditorLinkCollection
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property EditorLinkCollection^ Links {
EditorLinkCollection^ get ();
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member Links : EditorLinkCollection with get
Property Value
Type:
EditorLinkCollectionA Link object containing the links to put in the Custom Links dropdown.
RemarksThe Custom Links dropdown of the KaxEditor is a very convenient tool for
inserting predefined hyperlinks.
Note: the links can be organized in a tree like
structure.
Examples
This example demonstrates how to create a tree like structure of custom links.
private void Page_Load(object sender, EventArgs e)
{
KaxEditor1.Links.Add("Kettic", "http://www.kettic.com");
KaxEditor1.Links["Kettic"].Add("Products", "http://www.kettic.com/products");
KaxEditor1.Links["Kettic"]["Products"].Add("KaxControls", "http://www.kettic.com/kaxcontrols");
KaxEditor1.Links["Kettic"]["Products"].Add("KaxEditor", "http://www.kettic.com/KaxEditor");
KaxEditor1.Links["Kettic"]["Products"]["KaxEditor"].Add("QSF", "http://www.kettic.com/demos/aspnet/Editor/Examples/Default/DefaultCS.aspx");
KaxEditor1.Links["Kettic"].Add("Purchase", "http://www.kettic.com/purchase");
KaxEditor1.Links["Kettic"].Add("Support", "http://www.kettic.com/support");
KaxEditor1.Links["Kettic"].Add("Client.Net", "http://www.kettic.com/clientnet");
}
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
KaxEditor1.Links.Add("Kettic", "http://www.kettic.com")
KaxEditor1.Links("Kettic").Add("Products", "http://www.kettic.com/products")
KaxEditor1.Links("Kettic")("Products").Add("KaxControls", "http://www.kettic.com/kaxcontrols")
KaxEditor1.Links("Kettic")("Products").Add("KaxEditor", "http://www.kettic.com/KaxEditor")
KaxEditor1.Links("Kettic")("Products")("KaxEditor").Add("QSF", "http://www.kettic.com/demos/aspnet/Editor/Examples/Default/DefaultCS.aspx")
KaxEditor1.Links("Kettic").Add("Purchase", "http://www.kettic.com/purchase")
KaxEditor1.Links("Kettic").Add("Support", "http://www.kettic.com/support")
KaxEditor1.Links("Kettic").Add("Client.Net", "http://www.kettic.com/clientnet")
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also