Exemple #1
0
        private void SetLayoutManager(SEListViewLayoutManager layoutManager)
        {
            if (_layoutManager == layoutManager)
            {
                return;
            }

            if (_layoutManager != null)
            {
                _layoutManager.Dispose();
            }

            _layoutManager = layoutManager;

            Refresh();
        }
 public SEListViewDescriptiveRenderer(SEListViewLayoutManager layoutManager)
     : base(layoutManager)
 {
     layoutManager.ItemHeight            = 40;
     _itemHeaderStringFormat.FormatFlags = StringFormatFlags.LineLimit | StringFormatFlags.NoWrap;
 }
Exemple #3
0
 public SEListViewRenderer(SEListViewLayoutManager layoutManager)
 {
     _layoutManager = layoutManager;
 }
 public SEListViewStandardRenderer(SEListViewLayoutManager layoutManager)
     : base(layoutManager)
 {
     layoutManager.ItemHeight            = 24;
     _itemHeaderStringFormat.FormatFlags = StringFormatFlags.LineLimit | StringFormatFlags.NoWrap;
 }