uComponents: Added XPathDropDownList to the core
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user