C# 클래스 ICSharpCode.WpfDesign.Designer.DesignPanel

상속: System.Windows.Controls.Decorator, IDesignPanel, INotifyPropertyChanged
파일 보기 프로젝트 열기: icsharpcode/WpfDesigner 1 사용 예제들

공개 메소드들

메소드 설명
AddContextMenu ( System.Windows.Controls.ContextMenu contextMenu ) : void
ClearContextMenu ( ) : void
DesignPanel ( ) : System
HitTest ( Point mousePosition, bool testAdorners, bool testDesignSurface, HitTestType hitTestType ) : DesignPanelHitTestResult

Performs a custom hit testing lookup for the specified mouse event args.

HitTest ( Point mousePosition, bool testAdorners, bool testDesignSurface, Predicate callback, HitTestType hitTestType ) : void

Performs a hit test on the design surface, raising callback for each match. Hit testing continues while the callback returns true.

RemoveContextMenu ( System.Windows.Controls.ContextMenu contextMenu ) : void

보호된 메소드들

메소드 설명
ArrangeOverride ( Size arrangeSize ) : Size
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size constraint ) : Size
OnQueryCursor ( System.Windows.Input.QueryCursorEventArgs e ) : void

비공개 메소드들

메소드 설명
DesignPanel_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
DesignPanel_KeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
FilterHitTestInvisibleElements ( DependencyObject potentialHitTestTarget, HitTestType hitTestType ) : HitTestFilterBehavior
InvokeDefaultKeyDownAction ( ICSharpCode.WpfDesign.Extensions.Extension e ) : bool

If interface implementing class sets this to false defaultkeyaction will be

IsPropertySet ( UIElement element, DependencyProperty d ) : bool
OnPropertyChanged ( string propertyName ) : void
RunHitTest ( Visual reference, Point point, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback ) : void
UpdateContextMenu ( ) : void

메소드 상세

AddContextMenu() 공개 메소드

public AddContextMenu ( System.Windows.Controls.ContextMenu contextMenu ) : void
contextMenu System.Windows.Controls.ContextMenu
리턴 void

ArrangeOverride() 보호된 메소드

protected ArrangeOverride ( Size arrangeSize ) : Size
arrangeSize System.Windows.Size
리턴 System.Windows.Size

ClearContextMenu() 공개 메소드

public ClearContextMenu ( ) : void
리턴 void

DesignPanel() 공개 메소드

public DesignPanel ( ) : System
리턴 System

GetVisualChild() 보호된 메소드

protected GetVisualChild ( int index ) : Visual
index int
리턴 Visual

HitTest() 공개 메소드

Performs a custom hit testing lookup for the specified mouse event args.
public HitTest ( Point mousePosition, bool testAdorners, bool testDesignSurface, HitTestType hitTestType ) : DesignPanelHitTestResult
mousePosition Point
testAdorners bool
testDesignSurface bool
hitTestType HitTestType
리턴 DesignPanelHitTestResult

HitTest() 공개 메소드

Performs a hit test on the design surface, raising callback for each match. Hit testing continues while the callback returns true.
public HitTest ( Point mousePosition, bool testAdorners, bool testDesignSurface, Predicate callback, HitTestType hitTestType ) : void
mousePosition Point
testAdorners bool
testDesignSurface bool
callback Predicate
hitTestType HitTestType
리턴 void

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
리턴 System.Windows.Size

OnQueryCursor() 보호된 메소드

protected OnQueryCursor ( System.Windows.Input.QueryCursorEventArgs e ) : void
e System.Windows.Input.QueryCursorEventArgs
리턴 void

RemoveContextMenu() 공개 메소드

public RemoveContextMenu ( System.Windows.Controls.ContextMenu contextMenu ) : void
contextMenu System.Windows.Controls.ContextMenu
리턴 void