Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #5
0
 public virtual GroupSection CreateGroupSection( ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth )
 {
     return new GroupSection( listControl, ri, headerSection, position, groupIndentWidth );
 }
Exemple #6
0
 public virtual RowSection CreateRowSection( ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position )
 {
     return new RowSection( listControl, rowIdentifier, headerSection, position );
 }
Exemple #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;
 }
Exemple #8
0
 public virtual RowSection CreateRowSection(ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position)
 {
     return(new RowSection(listControl, rowIdentifier, headerSection, position));
 }
Exemple #9
0
 public virtual GroupSection CreateGroupSection(ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth)
 {
     return(new GroupSection(listControl, ri, headerSection, position, groupIndentWidth));
 }