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