public SEListViewDescriptiveRenderer(SEListViewLayoutManager layoutManager)
            : base(layoutManager)
        {
            layoutManager.ItemSize = 40;

            //_itemHeaderStringFormat.Alignment = StringAlignment.Center;
            _itemHeaderStringFormat.FormatFlags = StringFormatFlags.LineLimit | StringFormatFlags.NoWrap;
        }
Example #2
0
        private void SetLayoutManager(SEListViewLayoutManager layoutManager)
        {
            if (_layoutManager == layoutManager)
            {
                return;
            }

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

            _layoutManager = layoutManager;

            Refresh();
        }
 public SEListViewRenderer(SEListViewLayoutManager layoutManager)
 {
     _layoutManager = layoutManager;
 }