Example #1
0
 public RowSection(ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position)
     : base(listControl)
 {
     _headerSection  = headerSection;
     _rowIdentifier  = rowIdentifier;
     _position       = position;
     _seperatorColor = listControl.SeparatorColor;
     _indentColor    = listControl.IndentColor;
 }
Example #2
0
 public RowSection( ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position )
     : base(listControl)
 {
     _headerSection = headerSection;
     _rowIdentifier = rowIdentifier;
     _position = position;
     _seperatorColor = listControl.SeparatorColor;
     _indentColor = listControl.IndentColor;
 }
Example #3
0
 public ListSection( ListControl listControl )
     : base(listControl)
 {
     _headerSection = Host.SectionFactory.CreateHeaderSection( listControl, listControl.Columns.VisibleItems );
     _headerSection.LayoutController = this;
     listControl.Columns.GroupedItems.DataChanged += GroupedItems_DataChanged;
     Host.FocusedSection = this; // we handle row focus manually from here.
     Children.Add( _headerSection );
     ExcludeFirstChildrenFromVScroll = 1;
     listControl.SelectedItems.DataChanged += SelectedItems_DataChanged;
 }
Example #4
0
 public GroupSection( ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth )
     : base(listControl, ri, headerSection, position)
 {
     Debug.Assert( ri is ListSection.GroupIdentifier );
     _groupIndentWidth = groupIndentWidth;
 }
Example #5
0
 public virtual GroupSection CreateGroupSection( ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth )
 {
     return new GroupSection( listControl, ri, headerSection, position, groupIndentWidth );
 }
Example #6
0
 public virtual RowSection CreateRowSection( ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position )
 {
     return new RowSection( listControl, rowIdentifier, headerSection, position );
 }
Example #7
0
 public GroupSection(ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth)
     : base(listControl, ri, headerSection, position)
 {
     Debug.Assert(ri is ListSection.GroupIdentifier);
     _groupIndentWidth = groupIndentWidth;
 }
Example #8
0
 public virtual RowSection CreateRowSection(ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position)
 {
     return(new RowSection(listControl, rowIdentifier, headerSection, position));
 }
Example #9
0
 public virtual GroupSection CreateGroupSection(ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth)
 {
     return(new GroupSection(listControl, ri, headerSection, position, groupIndentWidth));
 }