protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.expander = new GridExpanderItem();
     this.expander.StretchHorizontally = true;
     this.expander.RadPropertyChanged += new RadPropertyChangedEventHandler(this.expander_RadPropertyChanged);
     this.Children.Add((RadElement)this.expander);
 }
예제 #2
0
        protected override bool CanEnterEditMode(GridViewRowInfo rowInfo)
        {
            GridExpanderItem elementAtPoint = GridVisualElement.GetElementAtPoint <GridExpanderItem>((RadElementTree)this.GridViewElement.ElementTree, this.MouseDownLocation);

            if (base.CanEnterEditMode(rowInfo))
            {
                return(elementAtPoint == null);
            }
            return(false);
        }