Пример #1
0
        private void init()
        {
            _trackLayer = new RangeSliderTrackLayer();
            Layer.AddSublayer(_trackLayer);

            _leftKnobLayer = new RangeSliderKnobLayer();
            Layer.AddSublayer(_leftKnobLayer);

            _rightKnobLayer = new RangeSliderKnobLayer();
            Layer.AddSublayer(_rightKnobLayer);

            SetLayerFrames();
        }
        private void init()
        {
            _trackLayer = new RangeSliderTrackLayer ();
            Layer.AddSublayer (_trackLayer);

            _leftKnobLayer = new RangeSliderKnobLayer ();
            Layer.AddSublayer (_leftKnobLayer);

            _rightKnobLayer = new RangeSliderKnobLayer ();
            Layer.AddSublayer (_rightKnobLayer);

            SetLayerFrames ();
        }