C# Class Xceed.Wpf.Toolkit.RichTextBoxFormatBarManager

Inheritance: System.Windows.DependencyObject
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
FormatBarProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetFormatBar ( UIElement element ) : IRichTextBoxFormatBar
SetFormatBar ( UIElement element, IRichTextBoxFormatBar value ) : void

Private Methods

Méthode Description
AttachFormatBarToRichtextBox ( global richTextBox, IRichTextBoxFormatBar formatBar ) : void

Attaches a FormatBar to a RichtextBox

HideAdorner ( ) : void

Hides the IRichTextFormatBar that is in the adornor layer.

OnFormatBarPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPreviewMouseMoveParentWindow ( object sender, System.Windows.Input.MouseEventArgs e ) : void
PositionFormatBar ( Control adorningEditor ) : void

Positions the FormatBar so that is does not go outside the bounds of the RichTextBox or covers the selected text

RichTextBox_MouseButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
RichTextBox_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
ShowAdorner ( ) : void

Shows the FormatBar

VerifyAdornerLayer ( ) : bool

Ensures that the IRichTextFormatBar is in the adorner layer.

Method Details

GetFormatBar() public static méthode

public static GetFormatBar ( UIElement element ) : IRichTextBoxFormatBar
element UIElement
Résultat IRichTextBoxFormatBar

SetFormatBar() public static méthode

public static SetFormatBar ( UIElement element, IRichTextBoxFormatBar value ) : void
element UIElement
value IRichTextBoxFormatBar
Résultat void

Property Details

FormatBarProperty public_oe static_oe property

public static DependencyProperty,System.Windows FormatBarProperty
Résultat System.Windows.DependencyProperty