Floating editor used by SettingsPane to change properties of selected diagram items.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public class RadDiagramSettingsPane : ShapedForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IThemeChangeListener
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormShapedFormRadDiagramSettingsPane...
Implements:
Inherited Members
Constructors
Initializes the settings pane and subscribes it to localization-provider changes.
public RadDiagramSettingsPane()
Fields
Diagram element whose current selection is edited by this pane.
protected RadDiagramElement diagramElement
Properties
Gets the toggle that shows alignment and z-order commands.
public RadToggleButton ButtonArrange { get; }
Gets the toggle that shows the general editing commands.
public RadToggleButton ButtonGeneral { get; }
Gets the button that hides the settings pane.
public RadButton CloseButton { get; }
Indicates whether the settings pane is currently visible.
public bool IsPopupOpen { get; }
Gets the panel containing alignment and z-order commands for the selection.
public RadPanel PanelArrange { get; }
Gets the panel containing copy, cut, paste, and delete commands.
public RadPanel PanelCopyCutPaste { get; }
Gets the button that aligns the selected shapes to their bottom edges.
public RadButton RadButtonAlignBottom { get; }
Gets the button that aligns the selected shapes at their horizontal centers.
public RadButton RadButtonAlignCenter { get; }
Gets the button that aligns the selected shapes at their vertical middles.
public RadButton RadButtonAlignMiddle { get; }
Gets the button that aligns the selected shapes to their right edges.
public RadButton RadButtonAlignRight { get; }
Gets the button that aligns the selected shapes to their top edges.
public RadButton RadButtonAlignTop { get; }
Gets the button that sends the selected items behind the other diagram items.
public RadButton RadButtonBack { get; }
Gets the button that moves the selected items one step backward in z-order.
public RadButton RadButtonBackward { get; }
Gets the toggle that adds or removes bold styling on selected visual elements.
public RadToggleButton RadButtonBold { get; }
Gets the button that copies the selected diagram items.
public RadButton RadButtonCopy { get; }
Gets the button that cuts the selected diagram items.
public RadButton RadButtonCut { get; }
Gets the button that deletes the selected diagram items.
public RadButton RadButtonDelete { get; }
Gets the button that moves the selected items one step forward in z-order.
public RadButton RadButtonForward { get; }
Gets the button that brings the selected items in front of the other diagram items.
public RadButton RadButtonFront { get; }
Gets the toggle that adds or removes italic styling on selected visual elements.
public RadToggleButton RadButtonItalic { get; }
Gets the button that aligns the selected shapes to their left edges.
public RadButton RadButtonLeft { get; }
Gets the button that pastes diagram items into the associated diagram.
public RadButton RadButtonPaste { get; }
Gets the color editor used to set the border color of selected items.
public RadColorBox RadColorBoxBorderColor { get; }
Gets the color editor used to set the fill color of selected visual elements.
public RadColorBox RadColorBoxFill { get; }
Gets the color editor used to set the text color of selected visual elements.
public RadColorBox RadColorBoxForeColor { get; }
Gets the list of dash patterns used to set selected items' border style.
public RadDropDownList RadDropDownListBorderStyle { get; }
Gets the list of font families applied to selected visual elements.
public RadDropDownList RadDropDownListFontFamily { get; }
Gets the list of font sizes applied to selected items.
public RadDropDownList RadDropDownListFontSize { get; }
Gets the caption for the Send to Back command.
public RadLabel RadLabelBack { get; }
Gets the caption for the Backward z-order command.
public RadLabel RadLabelBackward { get; }
Gets the caption for the border-color editor.
public RadLabel RadLabelBorderColor { get; }
Gets the caption for the border-style editor.
public RadLabel RadLabelBorderStyle { get; }
Gets the caption for the border-width editor.
public RadLabel RadLabelBorderWidth { get; }
Gets the caption for the bottom-alignment command.
public RadLabel RadLabelBottom { get; }
Gets the caption for the bottom-alignment command; it references the same label as RadLabelBottom.
public RadLabel RadLabelBottom1 { get; }
Gets the caption for the center-alignment command.
public RadLabel RadLabelCenter { get; }
Gets the caption for the Copy command.
public RadLabel RadLabelCopy { get; }
Gets the caption for the Cut command.
public RadLabel RadLabelCut { get; }
Gets the caption for the Delete command.
public RadLabel RadLabelDelete { get; }
Gets the caption for the fill-color editor.
public RadLabel RadLabelFillColor { get; }
Gets the caption for the Forward z-order command.
public RadLabel RadLabelForward { get; }
Gets the caption for the Bring to Front command.
public RadLabel RadLabelFront { get; }
Gets the caption for the height editor.
public RadLabel RadLabelHeight { get; }
Gets the caption for the left-alignment command.
public RadLabel RadLabelLeft { get; }
Gets the caption for the middle-alignment command.
public RadLabel RadLabelMiddle { get; }
Gets the caption that displays the opacity editor's current percentage.
public RadLabel RadLabelOpacity { get; }
Gets the caption for the right-alignment command.
public RadLabel RadLabelRight { get; }
Gets the caption for the rotation-angle editor.
public RadLabel RadLabelRotationAngle { get; }
Gets the caption for the top-alignment command.
public RadLabel RadLabelTop { get; }
Gets the caption for the width editor.
public RadLabel RadLabelWidth { get; }
Gets the caption for the horizontal-position editor.
public RadLabel RadLabelX { get; }
Gets the caption for the vertical-position editor.
public RadLabel RadLabelY { get; }
Gets the page view that hosts the settings pane's editing tabs.
public RadPageView RadPageView { get; }
Gets the page containing the pane's general and arrangement command panels.
public RadPageViewPage RadPageViewPageHome { get; }
Gets the page containing position, size, and rotation controls.
public RadPageViewPage RadPageViewPageSize { get; }
Gets the page containing fill, border, and opacity controls.
public RadPageViewPage RadPageViewPageStyle { get; }
Gets the page containing text-formatting controls.
public RadPageViewPage RadPageViewPageText { get; }
Gets the visual separator used to divide sections of the pane.
public RadPanel RadPanelDelimiter { get; }
Gets the visual separator used to divide sections of the pane.
public RadPanel RadPanelDelimiter2 { get; }
Gets the visual separator used to divide sections of the pane.
public RadPanel RadPanelDelimiter3 { get; }
Gets the editor used to set the border width of selected diagram items.
public RadSpinEditor RadSpinEditorBorderWidth { get; }
Gets the editor used to set the height of selected shapes.
public RadSpinEditor RadSpinEditorHeight { get; }
Gets the editor used to set the rotation angle of selected shapes.
public RadSpinEditor RadSpinEditorRotationAngle { get; }
Gets the editor used to set the width of selected shapes.
public RadSpinEditor RadSpinEditorWidth { get; }
Gets the editor used to set the horizontal position of selected shapes.
public RadSpinEditor RadSpinEditorX { get; }
Gets the editor used to set the vertical position of selected shapes.
public RadSpinEditor RadSpinEditorY { get; }
RadTextBoxItemText
RadTextBox
Gets the text editor whose value is applied to selected diagram items.
public RadTextBox RadTextBoxItemText { get; }
Gets the slider that sets the opacity percentage of selected visual elements.
public RadTrackBar RadTrackBar1 { get; }
Gets the title bar control displayed at the top of the settings pane.
public RadTitleBar TileBar { get; }
Methods
Switches to the arrange commands panel and keeps the general/arrange choice mutually exclusive.
protected virtual void buttonArrange_ToggleStateChanging(object sender, StateChangingEventArgs args)
Switches to the general commands panel and keeps the general/arrange choice mutually exclusive.
protected virtual void buttonGeneral_ToggleStateChanging(object sender, StateChangingEventArgs args)
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Stores the pointer position used to determine whether a subsequent move should drag the pane.
Starts a non-client move of the pane when the left mouse button is dragged across its title area.
public virtual void HandleMouseMove(MouseEventArgs e, Form form)
Hides the pane when it is visible.
protected void HidePopup()
Restores the default cursor when the pointer is released over the pane.
Applies localized labels and initializes the pane's appearance after it is shown.
Adds or removes bold styling on selected visual elements to match the bold toggle state.
protected virtual void radButtonBold_ToggleStateChanged(object sender, StateChangedEventArgs args)
Adds or removes italic styling on selected visual elements to match the italic toggle state.
protected virtual void radButtonItalic_ToggleStateChanged(object sender, StateChangedEventArgs args)
Applies the selected dash pattern to the stroke of each selected diagram item.
protected virtual void radDropDownListBorderStyle_SelectedIndexChanged(object sender, PositionChangedEventArgs e)
Displays each border-style option as its corresponding dash-pattern sample.
protected virtual void radDropDownListBorderStyle_VisualListItemFormatting(object sender, VisualItemFormattingEventArgs args)
Applies the chosen font family and the current size and style settings to selected visual elements.
protected virtual void radDropDownListFontFamily_SelectedIndexChanged(object sender, PositionChangedEventArgs e)
Renders each font-family option using that family's font and caches the created font instances.
protected virtual void radDropDownListFontFamily_VisualListItemFormatting(object sender, VisualItemFormattingEventArgs args)
Applies the chosen font size and the current family and style settings to selected items.
protected virtual void radDropDownListFontSize_SelectedIndexChanged(object sender, PositionChangedEventArgs e)
Sends a native window message to the specified window handle.
public static extern IntPtr SendMessage(HandleRef hWnd, int Msg, int wParam, IntPtr lParam)
The target window handle.
MsgintThe message identifier.
wParamintThe message's wParam value.
The message's lParam value.
The value returned by the target window procedure.
Assigns dark-theme icons to the pane's command and formatting controls.
public virtual void SetDarkIcons()
Selects the icon set that matches the pane's current theme.
public virtual void SetIcons()
Sets the window opacity of the settings pane.
public void SetOpacity(double opacity)
The opacity assigned to the underlying form.
Assigns the standard icons to the pane's command and formatting controls.
public virtual void SetStandardIcons()
Shows the pane at the specified diagram location and loads the settings for the diagram element's selection.
public void Show(Point location, RadDiagramElement owner)
The diagram location used to position the pane.
ownerRadDiagramElementThe diagram element whose selected items are edited.
Associates the pane with a diagram element, positions it beside the diagram location, and loads selection values.
protected void ShowPopup(Point location, RadDiagramElement diagramElement)
The diagram location used to position the pane.
diagramElementRadDiagramElementThe diagram element whose selected items are edited.
Prevents the pane from activating in response to a mouse-activation message.