uComponents: Added XPathDropDownList to the core

This commit is contained in:
leekelleher
2012-04-28 13:52:25 -01:00
parent bb8d17b741
commit 16cd283462
4 changed files with 437 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
namespace umbraco.editorControls.XPathDropDownList
{
internal class XPathDropDownListOptions
{
/// <summary>
/// XPath string used to get Nodes to be used as CheckBox options in a CheckBoxList
/// </summary>
public string XPath { get; set; }
/// <summary>
/// Defaults to true, where property value is a csv of NodeIds, else if false, then csv of Node names is stored
/// </summary>
public bool UseId { get; set; }
/// <summary>
/// Initializes an instance of XPathDropDownListOptions
/// </summary>
public XPathDropDownListOptions()
{
this.XPath = string.Empty;
this.UseId = true; // Default to storing Node Id
}
}
}