C# Class Catrobat.IDE.WindowsPhone.Controls.FormulaControls.FormulaViewer

显示文件 Open project: Catrobat/CatrobatForWindows

Public Properties

Property Type Description
CaretIndexProperty Windows.UI.Xaml.DependencyProperty
CharactersInOneLineNormalFontSizeProperty Windows.UI.Xaml.DependencyProperty
DoubleTap DoubleTap
IsAutoFontSizeProperty Windows.UI.Xaml.DependencyProperty
LinesNormalFontSizeProperty Windows.UI.Xaml.DependencyProperty
MaxFontSizeProperty Windows.UI.Xaml.DependencyProperty
MinFontSizeProperty Windows.UI.Xaml.DependencyProperty
NormalFontSizeProperty Windows.UI.Xaml.DependencyProperty
SelectionLengthProperty Windows.UI.Xaml.DependencyProperty
SelectionStartProperty Windows.UI.Xaml.DependencyProperty
TokensProperty Windows.UI.Xaml.DependencyProperty
_lastContainerAdded bool

Private Properties

Property Type Description
AddContainer void
CaretIndexChanged void
Container_OnDoubleTap void
Container_OnTap void
CreateBlinkingEffect Windows.UI.Xaml.Media.Animation.Storyboard
CreateCaret Windows.UI.Xaml.Controls.Grid
CreateContainer Windows.UI.Xaml.Controls.Grid
FormulaViewer_OnLoaded void
InitCaret void
InitContainer void
InitContainers void
MoveCaret void
MultilinePanelContent_OnSizeChanged void
Panel_OnTap void
RaiseDoubleTap void
RemoveContainer void
SelectionChanged void
SetCaretFontSize void
TokensPropertyChanged void
Tokens_CollectionChanged void
UpdateCaretMargin void
UpdateFontSize void
UpdateStyles void

Public Methods

Method Description
FormulaViewer ( ) : System

Private Methods

Method Description
AddContainer ( IFormulaToken token, int index ) : void
CaretIndexChanged ( DependencyPropertyChangedEventArgs e ) : void
Container_OnDoubleTap ( Grid container, DoubleTappedRoutedEventArgs e ) : void
Container_OnTap ( Grid container, TappedRoutedEventArgs e ) : void
CreateBlinkingEffect ( DependencyObject target ) : Storyboard
CreateCaret ( ) : Grid Caret cannot be taken from XAML Resources, because it can not be child of Resources and Panel.Children.
CreateContainer ( IFormulaToken token ) : Grid
FormulaViewer_OnLoaded ( object sender, RoutedEventArgs e ) : void
InitCaret ( ) : void
InitContainer ( Grid container ) : void
InitContainers ( ) : void
MoveCaret ( int oldIndex, int newIndex ) : void
MultilinePanelContent_OnSizeChanged ( object sender, SizeChangedEventArgs e ) : void
Panel_OnTap ( object sender, RoutedEventArgs e ) : void
RaiseDoubleTap ( int index ) : void
RemoveContainer ( int index ) : void
SelectionChanged ( ) : void
SetCaretFontSize ( double fontSize ) : void
TokensPropertyChanged ( DependencyPropertyChangedEventArgs e ) : void
Tokens_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
UpdateCaretMargin ( ) : void
UpdateFontSize ( ) : void
UpdateStyles ( ) : void

Method Details

FormulaViewer() public method

public FormulaViewer ( ) : System
return System

Property Details

CaretIndexProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CaretIndexProperty
return Windows.UI.Xaml.DependencyProperty

CharactersInOneLineNormalFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml CharactersInOneLineNormalFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

DoubleTap public_oe property

public DoubleTap DoubleTap
return DoubleTap

IsAutoFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IsAutoFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

LinesNormalFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml LinesNormalFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

MaxFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MaxFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

MinFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml MinFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

NormalFontSizeProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml NormalFontSizeProperty
return Windows.UI.Xaml.DependencyProperty

SelectionLengthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SelectionLengthProperty
return Windows.UI.Xaml.DependencyProperty

SelectionStartProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SelectionStartProperty
return Windows.UI.Xaml.DependencyProperty

TokensProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TokensProperty
return Windows.UI.Xaml.DependencyProperty

_lastContainerAdded public_oe property

public bool _lastContainerAdded
return bool