public BasicStackedColumnExample() { InitializeComponent(); SeriesCollection = new SeriesCollection { new StackedColumnSeries { Values = new ChartValues<double> {4, 5, 6, 8}, StackMode = StackMode.Values, // this is not necessary, values is the default stack mode DataLabels = true }, new StackedColumnSeries { Values = new ChartValues<double> {2, 5, 6, 7}, StackMode = StackMode.Values, DataLabels = true } }; //adding series updates and animates the chart SeriesCollection.Add(new StackedColumnSeries { Values = new ChartValues<double> { 6, 2, 7 }, StackMode = StackMode.Values }); //adding values also updates and animates SeriesCollection[2].Values.Add(4d); Labels = new[] { "Chrome", "Mozilla", "Opera", "IE" }; Formatter = value => value + " Mill"; this.CleanSeparator = DefaultAxes.CleanSeparator; }
/// <summary> /// Constructor with default RemoveAfterWords properties. /// </summary> /// <param name="SeperatorBefore">Separator type required before word</param> /// <param name="SeperatorAfter">Separator type required after word</param> /// <param name="Word">The word to remove from string</param> /// <param name="type">type of the word to remove</param> public RemoveFileWord(Separator seperatorBefore, Separator seperatorAfter, string word, FileWordType type) { this.SeparatorBefore = seperatorBefore; this.SeparatorAfter = seperatorAfter; this.Word = word; this.Type = type; this.RemoveFollowingEndWord = true; this.RemoveEverythingAfter = false; }
public Axis() { CleanFactor = 3; Separator = new Separator { IsEnabled = true, Color = Color.FromRgb(242, 242, 242), StrokeThickness = 1 }; }
public static IObservable <EventPattern <StylusEventArgs> > PreviewStylusInAirMoveObserver(this Separator This) { return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.PreviewStylusInAirMove += h, h => This.PreviewStylusInAirMove -= h)); }
public SeparatorDate(Separator.Type value) : base(value) { }
protected override void OnStyleChanged() { eDotNetBarStyle effectiveStyle = this.EffectiveStyle; if (effectiveStyle == eDotNetBarStyle.Office2010) { if (_WindowIcon == null) { _IconSeparator = new Separator("sys_caption_separator"); _IconSeparator.SetSystemItem(true); _IconSeparator.DesignTimeVisible = false; _IconSeparator.CanCustomize = false; _CaptionContainer.SubItems._Add(_IconSeparator, 0); _WindowIcon = new SystemCaptionItem(); _WindowIcon.Name = "sys_caption_icon"; _WindowIcon.Enabled = false; _WindowIcon.Style = this.Style; _WindowIcon.IsSystemIcon = true; _WindowIcon.DesignTimeVisible = false; _WindowIcon.CanCustomize = false; _WindowIcon.QueryIconOnPaint = true; _WindowIcon.MouseDown += WindowIconMouseDown; _WindowIcon.DoubleClick += WindowIconDoubleClick; _CaptionContainer.SubItems._Add(_WindowIcon, 0); } } else if (effectiveStyle == eDotNetBarStyle.Windows7) { if (_WindowIcon == null) { _IconSeparator = new Separator("sys_caption_separator"); _IconSeparator.FixedSize = new Size(3, 12); _IconSeparator.SetSystemItem(true); _IconSeparator.DesignTimeVisible = false; _IconSeparator.CanCustomize = false; _CaptionContainer.SubItems._Add(_IconSeparator, 0); _WindowIcon = new SystemCaptionItem(); _WindowIcon.Name = "sys_caption_icon"; _WindowIcon.Enabled = false; _WindowIcon.Style = this.Style; _WindowIcon.IsSystemIcon = true; _WindowIcon.QueryIconOnPaint = true; _WindowIcon.DesignTimeVisible = false; _WindowIcon.CanCustomize = false; _WindowIcon.MouseDown += WindowIconMouseDown; _CaptionContainer.SubItems._Add(_WindowIcon, 0); } } else if (effectiveStyle == eDotNetBarStyle.Metro) { if (_WindowIcon == null) { _IconSeparator = new Separator("sys_caption_separator"); _IconSeparator.FixedSize = new Size(3, 14); _IconSeparator.SetSystemItem(true); _IconSeparator.DesignTimeVisible = false; _IconSeparator.CanCustomize = false; _CaptionContainer.SubItems._Add(_IconSeparator, 0); _WindowIcon = new SystemCaptionItem(); _WindowIcon.Name = "sys_caption_icon"; _WindowIcon.Enabled = false; _WindowIcon.Style = this.Style; _WindowIcon.IsSystemIcon = true; _WindowIcon.DesignTimeVisible = false; _WindowIcon.CanCustomize = false; _WindowIcon.QueryIconOnPaint = true; _WindowIcon.MouseDown += WindowIconMouseDown; _WindowIcon.DoubleClick += WindowIconDoubleClick; _CaptionContainer.SubItems._Add(_WindowIcon, 0); } } else if (_WindowIcon != null) { if (_CaptionContainer.SubItems.Contains(_WindowIcon)) _CaptionContainer.SubItems._Remove(_WindowIcon); _WindowIcon.MouseDown -= WindowIconMouseDown; _WindowIcon.DoubleClick -= WindowIconDoubleClick; _WindowIcon.Dispose(); _WindowIcon = null; if (_CaptionContainer.SubItems.Contains(_IconSeparator)) _CaptionContainer.SubItems._Remove(_IconSeparator); _IconSeparator.Dispose(); _IconSeparator = null; } base.OnStyleChanged(); }
public static IObservable <EventPattern <RoutedEventArgs> > GotFocusObserver(this Separator This) { return(Observable.FromEventPattern <RoutedEventHandler, RoutedEventArgs>(h => This.GotFocus += h, h => This.GotFocus -= h)); }
public static IObservable <EventPattern <DependencyPropertyChangedEventArgs> > FocusableChangedObserver(this Separator This) { return(Observable.FromEventPattern <DependencyPropertyChangedEventHandler, DependencyPropertyChangedEventArgs>(h => This.FocusableChanged += h, h => This.FocusableChanged -= h)); }
public static IObservable <EventPattern <SizeChangedEventArgs> > SizeChangedObserver(this Separator This) { return(Observable.FromEventPattern <SizeChangedEventHandler, SizeChangedEventArgs>(h => This.SizeChanged += h, h => This.SizeChanged -= h)); }
public static IObservable <EventPattern <TouchEventArgs> > TouchLeaveObserver(this Separator This) { return(Observable.FromEventPattern <EventHandler <TouchEventArgs>, TouchEventArgs>(h => This.TouchLeave += h, h => This.TouchLeave -= h)); }
public static IObservable <EventPattern <GiveFeedbackEventArgs> > GiveFeedbackObserver(this Separator This) { return(Observable.FromEventPattern <GiveFeedbackEventHandler, GiveFeedbackEventArgs>(h => This.GiveFeedback += h, h => This.GiveFeedback -= h)); }
public static IObservable <EventPattern <DragEventArgs> > PreviewDragLeaveObserver(this Separator This) { return(Observable.FromEventPattern <DragEventHandler, DragEventArgs>(h => This.PreviewDragLeave += h, h => This.PreviewDragLeave -= h)); }
public static IObservable <EventPattern <QueryCursorEventArgs> > QueryCursorObserver(this Separator This) { return(Observable.FromEventPattern <QueryCursorEventHandler, QueryCursorEventArgs>(h => This.QueryCursor += h, h => This.QueryCursor -= h)); }
public SeparatorItem(Separator separator) { this.separator = separator; }
public static IObservable <EventPattern <MouseEventArgs> > GotMouseCaptureObserver(this Separator This) { return(Observable.FromEventPattern <MouseEventHandler, MouseEventArgs>(h => This.GotMouseCapture += h, h => This.GotMouseCapture -= h)); }
public static IObservable <EventPattern <MouseButtonEventArgs> > MouseDoubleClickObserver(this Separator This) { return(Observable.FromEventPattern <MouseButtonEventHandler, MouseButtonEventArgs>(h => This.MouseDoubleClick += h, h => This.MouseDoubleClick -= h)); }
public static IObservable <EventPattern <MouseEventArgs> > MouseEnterObserver(this Separator This) { return(Observable.FromEventPattern <MouseEventHandler, MouseEventArgs>(h => This.MouseEnter += h, h => This.MouseEnter -= h)); }
public static IObservable <EventPattern <MouseWheelEventArgs> > PreviewMouseWheelObserver(this Separator This) { return(Observable.FromEventPattern <MouseWheelEventHandler, MouseWheelEventArgs>(h => This.PreviewMouseWheel += h, h => This.PreviewMouseWheel -= h)); }
public static IObservable <EventPattern <MouseButtonEventArgs> > MouseRightButtonDownObserver(this Separator This) { return(Observable.FromEventPattern <MouseButtonEventHandler, MouseButtonEventArgs>(h => This.MouseRightButtonDown += h, h => This.MouseRightButtonDown -= h)); }
public static IObservable <EventPattern <QueryContinueDragEventArgs> > QueryContinueDragObserver(this Separator This) { return(Observable.FromEventPattern <QueryContinueDragEventHandler, QueryContinueDragEventArgs>(h => This.QueryContinueDrag += h, h => This.QueryContinueDrag -= h)); }
public static IObservable <EventPattern <StylusEventArgs> > StylusOutOfRangeObserver(this Separator This) { return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.StylusOutOfRange += h, h => This.StylusOutOfRange -= h)); }
public static IObservable <EventPattern <RequestBringIntoViewEventArgs> > RequestBringIntoViewObserver(this Separator This) { return(Observable.FromEventPattern <RequestBringIntoViewEventHandler, RequestBringIntoViewEventArgs>(h => This.RequestBringIntoView += h, h => This.RequestBringIntoView -= h)); }
public static IObservable <EventPattern <StylusSystemGestureEventArgs> > StylusSystemGestureObserver(this Separator This) { return(Observable.FromEventPattern <StylusSystemGestureEventHandler, StylusSystemGestureEventArgs>(h => This.StylusSystemGesture += h, h => This.StylusSystemGesture -= h)); }
public static IObservable <EventPattern <DragEventArgs> > DropObserver(this Separator This) { return(Observable.FromEventPattern <DragEventHandler, DragEventArgs>(h => This.Drop += h, h => This.Drop -= h)); }
public static IObservable <EventPattern <DataTransferEventArgs> > SourceUpdatedObserver(this Separator This) { return(Observable.FromEventPattern <EventHandler <DataTransferEventArgs>, DataTransferEventArgs>(h => This.SourceUpdated += h, h => This.SourceUpdated -= h)); }
public static IObservable <EventPattern <TouchEventArgs> > PreviewTouchUpObserver(this Separator This) { return(Observable.FromEventPattern <EventHandler <TouchEventArgs>, TouchEventArgs>(h => This.PreviewTouchUp += h, h => This.PreviewTouchUp -= h)); }
public static IObservable <EventPattern <StylusEventArgs> > LostStylusCaptureObserver(this Separator This) { return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.LostStylusCapture += h, h => This.LostStylusCapture -= h)); }
public static IObservable <EventPattern <EventArgs> > InitializedObserver(this Separator This) { return(Observable.FromEventPattern <EventHandler, EventArgs>(h => This.Initialized += h, h => This.Initialized -= h)); }
public static IObservable <EventPattern <StylusButtonEventArgs> > StylusButtonDownObserver(this Separator This) { return(Observable.FromEventPattern <StylusButtonEventHandler, StylusButtonEventArgs>(h => This.StylusButtonDown += h, h => This.StylusButtonDown -= h)); }
public static IObservable <EventPattern <RoutedEventArgs> > LoadedObserver(this Separator This) { return(Observable.FromEventPattern <RoutedEventHandler, RoutedEventArgs>(h => This.Loaded += h, h => This.Loaded -= h)); }
public static IObservable <EventPattern <StylusButtonEventArgs> > PreviewStylusButtonUpObserver(this Separator This) { return(Observable.FromEventPattern <StylusButtonEventHandler, StylusButtonEventArgs>(h => This.PreviewStylusButtonUp += h, h => This.PreviewStylusButtonUp -= h)); }
public static IObservable <EventPattern <ManipulationStartedEventArgs> > ManipulationStartedObserver(this Separator This) { return(Observable.FromEventPattern <EventHandler <ManipulationStartedEventArgs>, ManipulationStartedEventArgs>(h => This.ManipulationStarted += h, h => This.ManipulationStarted -= h)); }
public static IObservable <EventPattern <KeyEventArgs> > PreviewKeyDownObserver(this Separator This) { return(Observable.FromEventPattern <KeyEventHandler, KeyEventArgs>(h => This.PreviewKeyDown += h, h => This.PreviewKeyDown -= h)); }
public static IObservable <EventPattern <KeyEventArgs> > KeyUpObserver(this Separator This) { return(Observable.FromEventPattern <KeyEventHandler, KeyEventArgs>(h => This.KeyUp += h, h => This.KeyUp -= h)); }
public static IObservable <EventPattern <KeyboardFocusChangedEventArgs> > LostKeyboardFocusObserver(this Separator This) { return(Observable.FromEventPattern <KeyboardFocusChangedEventHandler, KeyboardFocusChangedEventArgs>(h => This.LostKeyboardFocus += h, h => This.LostKeyboardFocus -= h)); }
/// <summary> /// Constructor with parameters for all properties /// </summary> /// <param name="seperatorBefore"></param> /// <param name="seperatorAfter"></param> /// <param name="word">The word to remove from string</param> /// <param name="type">type of the word to remove</param> /// <param name="removeAfterWords">Whether to also remove the word following if it is the last in the string</param> /// <param name="removeEverythingAfter">Whether to remove all characters after match</param> public RemoveFileWord(Separator seperatorBefore, Separator seperatorAfter, string word, FileWordType type, bool removeAfterWords, bool removeEverythingAfter) : this(seperatorBefore, seperatorAfter, word, type) { this.RemoveFollowingEndWord = removeAfterWords; this.RemoveEverythingAfter = removeEverythingAfter; }
public static IObservable <EventPattern <TextCompositionEventArgs> > TextInputObserver(this Separator This) { return(Observable.FromEventPattern <TextCompositionEventHandler, TextCompositionEventArgs>(h => This.TextInput += h, h => This.TextInput -= h)); }
/// <summary> /// Generates a line in the plain text case list. /// </summary> /// <param name="showOutcome">Shows the outcome</param> /// <param name="separator">The separator</param> /// <returns>An item in the report</returns> public string FormatText(bool showOutcome, Separator separator) { if (!showOutcome) return Name; if (separator == Separator.Space) return string.Format("{0} {1}", Outcome, Name); return string.Format("{0},{1}", Outcome, Name); }
public CSVOptions() { this.dkGxbE39BP = Separator.Tab; this.pnjxVJgJjh = 0; this.aaNxRduLBo = new CultureInfo(RNaihRhYEl0wUmAftnB.aYu7exFQKN(5994)); }