C# Класс Xceed.Wpf.Toolkit.RichTextBoxFormatBarManager

Наследование: System.Windows.DependencyObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FormatBarProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
GetFormatBar ( UIElement element ) : IRichTextBoxFormatBar
SetFormatBar ( UIElement element, IRichTextBoxFormatBar value ) : void

Приватные методы

Метод Описание
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.

Описание методов

GetFormatBar() публичный статический Метод

public static GetFormatBar ( UIElement element ) : IRichTextBoxFormatBar
element UIElement
Результат IRichTextBoxFormatBar

SetFormatBar() публичный статический Метод

public static SetFormatBar ( UIElement element, IRichTextBoxFormatBar value ) : void
element UIElement
value IRichTextBoxFormatBar
Результат void

Описание свойств

FormatBarProperty публичное статическое свойство

public static DependencyProperty,System.Windows FormatBarProperty
Результат System.Windows.DependencyProperty