/// <summary>
        /// Sets the data.
        /// </summary>
        /// <param name="node">Node.</param>
        /// <param name="depth">Depth.</param>
        public override void SetData(UIWidgets.TreeNode <UIWidgets.Examples.PlaylistItem> node, int depth)
        {
            Node = node;

            base.SetData(Node, depth);

            Item = (Node == null) ? null : Node.Item;
        }
Example #2
0
        /// <summary>
        /// Set data.
        /// </summary>
        /// <param name="node">Node.</param>
        public override void SetData(UIWidgets.TreeNode <UIWidgets.Examples.PlaylistItem> node)
        {
            Node = node;

            if (Title != null)
            {
                Title.text = Node.Item.Title;
            }

            if (PlayStart != null)
            {
                PlayStart.text = Node.Item.PlayStart.ToString();
            }

            if (PlayStop != null)
            {
                PlayStop.text = Node.Item.PlayStop.ToString();
            }
        }
 void NodeDeselectedTreeView(UIWidgets.TreeNode <UIWidgets.TreeViewItem> arg0)
 {
     OnTargetValueChanged();
 }
Example #4
0
 void NodeDeselectedDirectoryTreeView(UIWidgets.TreeNode <UIWidgets.FileSystemEntry> arg0)
 {
     OnTargetValueChanged();
 }