C# Class Abc.NCrafts.App.Views.AvalonEditExtensions

Mostra file Open project: Abc-Arbitrage/Abc.NCrafts.Quiz

Public Properties

Property Type Description
HighlightedLinesProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetHighlightedLines ( DependencyObject element ) : int[]
GetText ( DependencyObject element ) : string
SetHighlightedLines ( DependencyObject element, string value ) : void
SetText ( DependencyObject element, string value ) : void

Private Methods

Method Description
OnHighlightedLinesChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetHighlightedLines() public static method

public static GetHighlightedLines ( DependencyObject element ) : int[]
element System.Windows.DependencyObject
return int[]

GetText() public static method

public static GetText ( DependencyObject element ) : string
element System.Windows.DependencyObject
return string

SetHighlightedLines() public static method

public static SetHighlightedLines ( DependencyObject element, string value ) : void
element System.Windows.DependencyObject
value string
return void

SetText() public static method

public static SetText ( DependencyObject element, string value ) : void
element System.Windows.DependencyObject
value string
return void

Property Details

HighlightedLinesProperty public_oe static_oe property

public static DependencyProperty,System.Windows HighlightedLinesProperty
return System.Windows.DependencyProperty

TextProperty public_oe static_oe property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty