Пример #1
0
        private Presentation.Shape GetThumbShape()
        {
            Presentation.Rectangle thumb = new Presentation.Rectangle();
            //thumb.Border = m_ThumbOuterBorder;
            thumb.Padding = new Presentation.PaddingInfo(1,1,1,1);
            m_ThumbSignShape = new Presentation.ShapePath();
            m_ThumbSignShape.Fill = m_ThumbSignFill;
            thumb.Children.Add(m_ThumbSignShape);

            return thumb;
        }
Пример #2
0
        private Presentation.Shape GetTrackShape()
        {
            Presentation.Rectangle thumb = new Presentation.Rectangle();
            thumb.Padding = new DevComponents.DotNetBar.Presentation.PaddingInfo(1, 1, 1, 1);
            Presentation.Rectangle innerRect = new Presentation.Rectangle();
            innerRect.Padding = new Presentation.PaddingInfo(2, 2, 2, 2);
            innerRect.Fill = m_TrackInnerFill;
            thumb.Children.Add(innerRect);

            return thumb;
        }
Пример #3
0
 private Presentation.Shape GetBackgroundShape()
 {
     Presentation.Rectangle b = new Presentation.Rectangle();
     b.Border = m_BackgroundBorder;
     b.Fill = m_BackgroundFill;
     return b;
 }