Example #1
0
        private void OnZoomComboValueChanged(object sender, StringValueChangedEventArgs e)
        {
            string input = e.NewValue.Replace("%", string.Empty);

            layoutControl1.Zoom = Convert.ToInt32(input) / 100F;

            layoutControl1.Refresh();
        }
Example #2
0
        public void RaiseValueChangedEvent(string data)
        {
            RoutedEventArgs args = new StringValueChangedEventArgs()
            {
                Value = data
            };

            args.RoutedEvent = ValueChangedEvent;
            RaiseEvent(args);
        }