LayoutEditor 类

定义

public ref class LayoutEditor : System::Windows::Forms::UserControl, IServiceProvider, Microsoft::ReportDesigner::ILayoutEditor, Microsoft::ReportDesigner::ISelection
[System.Drawing.ToolboxBitmap(typeof(Microsoft.ReportDesigner.LayoutEditor), "images.LayoutEditor.bmp")]
public class LayoutEditor : System.Windows.Forms.UserControl, IServiceProvider, Microsoft.ReportDesigner.ILayoutEditor, Microsoft.ReportDesigner.ISelection
Public Class LayoutEditor
Inherits UserControl
Implements ILayoutEditor, ISelection, IServiceProvider
继承
LayoutEditor
属性
实现

构造函数

LayoutEditor()

字段

MaxZoom
MinZoom

属性

ActiveTopLevelContainer
BackColor
CanCopy
CanCut
CanPaste
CanSelectItems
CurrentCursor
DefaultCursor
DesignerHost
DeviceReferenceControl
DocumentChanged
FlaredItem
FontCache
GroupingPane
HasSelectedItems
HideDisabledScrollBars
ImagesToAutoSize
InplaceEditor
InverseViewTransform
IsInplaceEditMode
IsToolActive
IsToolboxItemSelected
MouseOverItem
PanAndZoom
ParametersPane
PlaceholderStyle
PropertyBrowser
Report
ReportDesignerShell
ReportProject
RulerBackColor
RulerOn
RulerTickMarkBackColor
SchemaBrowser
SelectedItems
Selection
Toolbox
ToolboxDrawItemMode
UndoManager
ViewTransform

方法

AcquireFocus()
ActivateReportItem(IReportItem)
ActivateTopLevelContainerFromSelection()
AddComponentToReport(ComponentItemDataObject)
AddComponentToReport(ComponentItemDataObject, Nullable<PointF>, IParent)
AddNewReportItemToReport(ReportItem)
AddNewReportItemToReport(ReportItem, PointF, IParent)
AddNewReportItemToReport(ReportItem, PointF, IParent, Nullable<Int32>)
AlignSelectedObjects(AlignmentType)
AllSelectedItemsSupportCopyCut()
AllSelectedItemsSupportDelete()
AllSelectedItemsSupportNoColorBorder()
AllSelectedItemsSupportNoColorFont()
AllSelectedItemsSupportTranslucentBackColor()
AreAllSelectedItemsTextboxes()
AreAllSelectedTextItemsBold()
AreAllSelectedTextItemsItalic()
AreAllSelectedTextItemsUnderlined()
AreSelectedItemsOfType(Type)
AtBookmark(String)
AutoSizeImageReportItems(Boolean)
BringItemsForwardOnePosition()
BringScrollPositionIntoRange()
BringSelectedItemsToFront()
CanMergeSelectedCells()
CanRedo()
CanUndo()
CenterSelectedObjects(CenterType)
ChangeSelectedObjectsHorizontalSpacing(SpacingChange)
ChangeSelectedObjectsVerticalSpacing(SpacingChange)
ClearSelection()
CommitPendingChanges(Boolean)
Copy()
CreatePreviewReport()
CreateReportItemFactoryFromSelectedToolboxItem()
Cut()
DeactivateReportItem(IReportItem)
DeleteReportItem(ReportItem)
DeleteSelectedItems()
DeselectNonSiblings(IReportItem)
DesktopToDevice(Point)
DeviceToDesktop(Point)
DeviceToVirtual(Point)
DeviceToVirtualDist(Point)
Dispose(Boolean)
EditReportProperties()
EndInplaceEditMode(Boolean)
EndToolboxDrawItemMode(Boolean, Boolean)
Execute(Command)
GenerateUniqueReportItemName(String)
GetActiveReportItem()
GetAllSelectedItemsCount()
GetBackColor(LayoutEditor+SelectedPropertyState)
GetListStyle(LayoutEditor+SelectedPropertyState)
GetSelectedObjects()
GetSelectedTextItemsFontFamily()
GetSelectedTextItemsFontSize()
GetSelectionListItemCount()
GetService(Type)
GetTextAlignment(LayoutEditor+SelectedPropertyState)
GetTextColor(LayoutEditor+SelectedPropertyState)
GetThumbnail(Size)
GetThumbnailTransform(Size)
GetVerticalAlignment(LayoutEditor+SelectedPropertyState)
GetVisibleRectangle()
GetZoomPercent()
IndentSelectedTextboxes()
InitializeForNewDocument()
InvalidateFlaredBuffer()
InvalidateReportBuffer()
IsAnythingSelected()
IsCurrentlyInplaceEditing(IReportItem)
IsIndentSupported()
IsInputKey(Keys)
LayoutEditorInit(IServiceProvider, IReportDesignerShell)
MakeSelectedItemsSameHeight()
MakeSelectedItemsSameWidth()
MakeSelectedObjectsSameSize(Boolean, Boolean)
MarkDocumentAsChanged()
MarkDocumentAsSaved()
MergeSelectedCells()
NewReport()
OnActiveServerChanged()
OnEnter(EventArgs)
OneOrMoreLinesSelected()
OneOrMoreSubItemsSelected()
OneOrMoreTextboxesSelected()
OnKeyUp(KeyEventArgs)
OnMouseWheel(MouseEventArgs)
OnReportStateChanged(EventArgs)
OnResize(EventArgs)
OnSelectionChanged(SelectionChangedEventArgs)
OpenRdl(Stream)
OpenRdl(String)
OutdentSelectedTextboxes()
Paste()
PerformDropToReportItem(IReportItem, ReportItemDragParams)
PrepareReportParameterTextbox(ReportParameter)
ProcessCmdKey(Message, Keys)
ProcessDialogKey(Keys)
QueryState(Command)
Redo()
RefreshPropertyGrid()
RemoveBookmark(String)
Repaint()
Repaint(Graphics, ReportItemDrawParams)
ReparentReportItems(ReportItemList, IParent)
ResizeTopLevelContainers()
SaveRdl(Stream)
SaveRdl(TextWriter)
ScrollToBoundingRectangle(RectangleF, IParent)
ScrollToReportItem(IReportItem)
ScrollToSelectedItems()
SelectAll()
SelectionSupportsAlignment()
SelectionSupportsBorderSides()
SelectionSupportsBordersOrLines()
SelectionSupportsCentering()
SelectionSupportsDoubleLine()
SelectionSupportsZOrder()
SelectItemsExternal(ReportItemList)
SelectParent()
SelectSingleItem(IReportItem)
SelectSingleObject(Object)
SendItemsBackwardOnePosition()
SendSelectedItemsToBack()
SetBookmark(String)
SetBorderOnSelectedItems(BorderSide, ReportExpression<BorderStyles>, ReportExpression<ReportSize>, ReportExpression<ReportColor>)
SetCursor(Cursor)
SetDropCursor()
SetFistCursor()
SetGraphicsProperties(Graphics)
SetHandCursor()
SetNormalCursor()
SetPaintExtension(ILayoutPaintExtension, Boolean)
SetPropertyGridObjects(ICollection)
SetRepaintNeeded()
SetReportWidth(Double)
SetSelectedCellItems(IReportItem[])
SetSelectedItemsBackgroundColor(ReportColor)
SetSelectedItemsBorder(BorderSide, Nullable<BorderStyles>, Nullable<ReportColor>, Nullable<ReportSize>)
SetSelectedItemsColor(ReportColor)
SetSelectedItemsProperty(String, Object)
SetSelectedListStyle(ListStyle)
SetSelectedTextAlignment(TextAlignments)
SetSelectedTextFontFace(String)
SetSelectedTextFontSize(ReportSize)
SetSelectedTextFontStyle(FontStyles)
SetSelectedTextFontWeight(FontWeights)
SetSelectedTextTextDecoration(TextDecorations)
SetSelectedVerticalAlignments(VerticalAlignments)
SetSelection(IEnumerable<IReportItem>)
SetZoomPercent(Int32)
StartInplaceEditMode(IInplaceEditor)
StartToolboxDrawItemMode(ContainerReportItem)
ToggleSelection(IEnumerable<IReportItem>)
Undo()
UpdateGroupingPane()
UpdatePanAndZoomControl()
UpdateParameterPane()
UpdateRulers()
UpdateSchemaBrowser()
UpdateViewFromPanAndZoomControl()
VirtualToDevice(PointF)
VirtualToDeviceDist(PointF)
VirtualToDeviceSize(SizeF)
WndProc(Message)
ZoomIn()
ZoomOut()
ZoomToFit()
ZoomToFitWidth()

事件

NewDocLoaded
PaintBackground
ReferenceDataSourceDeleted
ReportStateChanged
SelectionChanged
StatusTextChange
ZoomChanged

显式接口实现

ILayoutEditor.BeginInvoke(Delegate)
IServiceProvider.GetService(Type)

适用于