24 lines
525 B
C#
24 lines
525 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using umbraco.NodeFactory;
|
|||
|
|
|
|||
|
|
namespace umbraco.editorControls.XPathCheckBoxList
|
|||
|
|
{
|
|||
|
|
public class XPathCheckBoxList : uQuery.IGetProperty
|
|||
|
|
{
|
|||
|
|
public XPathCheckBoxList()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
void uQuery.IGetProperty.LoadPropertyValue(string value)
|
|||
|
|
{
|
|||
|
|
this.SelectedNodes = uQuery.GetNodesByXml(value);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public IEnumerable<Node> SelectedNodes
|
|||
|
|
{
|
|||
|
|
get;
|
|||
|
|
private set;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|