/// <summary> /// Gets the <see cref="Umbraco.Framework.HiveId"/> with the specified level. Not that this is not 0-indexed. This indexer is intended /// to be passed a <see cref="Level"/> where 0 is typically the Content root /// </summary> /// <value></value> public HiveId this[int i, bool includeSystemIds] { get { return(includeSystemIds ? TruePath.ElementAtOrDefault(i + 1) : NaturalPath.ElementAtOrDefault(i)); } }
public override void Deserialize(ElementPropertyBag epb) { base.Deserialize(epb); string truePath; if (Json.TryGetValue("TruePath", out truePath)) { TruePath = (TruePath)Enum.Parse(typeof(TruePath), truePath); } }
public DiamondProperties(Diamond el) : base(el) { TruePath = el.TruePath; }
public AngleBracketBox(Canvas canvas) : base(canvas) { HasCornerConnections = false; TruePath = TruePath.Down; // Default path for the true condition. }
public AngleBracketBoxProperties(AngleBracketBox el) : base(el) { TruePath = el.TruePath; }