public RowSection(ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position) : base(listControl) { _headerSection = headerSection; _rowIdentifier = rowIdentifier; _position = position; _seperatorColor = listControl.SeparatorColor; _indentColor = listControl.IndentColor; }
public RowSection( ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position ) : base(listControl) { _headerSection = headerSection; _rowIdentifier = rowIdentifier; _position = position; _seperatorColor = listControl.SeparatorColor; _indentColor = listControl.IndentColor; }
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; }
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; }
public virtual GroupSection CreateGroupSection( ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth ) { return new GroupSection( listControl, ri, headerSection, position, groupIndentWidth ); }
public virtual RowSection CreateRowSection( ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position ) { return new RowSection( listControl, rowIdentifier, headerSection, position ); }
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; }
public virtual RowSection CreateRowSection(ListControl listControl, RowIdentifier rowIdentifier, HeaderSection headerSection, int position) { return(new RowSection(listControl, rowIdentifier, headerSection, position)); }
public virtual GroupSection CreateGroupSection(ListControl listControl, RowIdentifier ri, HeaderSection headerSection, int position, int groupIndentWidth) { return(new GroupSection(listControl, ri, headerSection, position, groupIndentWidth)); }