C# 클래스 VerticalTabControlLib.CustomListBox

このカスタム コントロールを XAML ファイルで使用するには、手順 1a または 1b の後、手順 2 に従います。 手順 1a) 現在のプロジェクトに存在する XAML ファイルでこのカスタム コントロールを使用する場合 この XmlNamespace 属性を使用場所であるマークアップ ファイルのルート要素に 追加します: xmlns:MyNamespace="clr-namespace:VerticalTabControl" 手順 1b) 異なるプロジェクトに存在する XAML ファイルでこのカスタム コントロールを使用する場合 この XmlNamespace 属性を使用場所であるマークアップ ファイルのルート要素に 追加します: xmlns:MyNamespace="clr-namespace:VerticalTabControl;assembly=VerticalTabControl" また、XAML ファイルのあるプロジェクトからこのプロジェクトへのプロジェクト参照を追加し、 リビルドして、コンパイル エラーを防ぐ必要があります: ソリューション エクスプローラーで対象のプロジェクトを右クリックし、 [参照の追加] の [プロジェクト] を選択してから、このプロジェクトを選択します。 手順 2) コントロールを XAML ファイルで使用します。
상속: System.Windows.Controls.ListBox
파일 보기 프로젝트 열기: nk9k/ExcelVerticalTab

공개 프로퍼티들

프로퍼티 타입 설명
EnableSortByDragAndDropProperty System.Windows.DependencyProperty

보호된 메소드들

메소드 설명
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnPreviewDragEnter ( System.Windows.DragEventArgs e ) : void
OnPreviewDragLeave ( System.Windows.DragEventArgs e ) : void
OnPreviewDragOver ( System.Windows.DragEventArgs e ) : void
OnPreviewDrop ( System.Windows.DragEventArgs e ) : void
OnPreviewMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnPreviewMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnPreviewMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnTryMoved ( object source, object target ) : void

비공개 메소드들

메소드 설명
GetContainer ( FrameworkElement originalSource ) : FrameworkElement
ResetDragAndDropParameter ( ) : void

메소드 상세

GetContainerForItemOverride() 보호된 메소드

protected GetContainerForItemOverride ( ) : DependencyObject
리턴 System.Windows.DependencyObject

IsItemItsOwnContainerOverride() 보호된 메소드

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
리턴 bool

OnPreviewDragEnter() 보호된 메소드

protected OnPreviewDragEnter ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
리턴 void

OnPreviewDragLeave() 보호된 메소드

protected OnPreviewDragLeave ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
리턴 void

OnPreviewDragOver() 보호된 메소드

protected OnPreviewDragOver ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
리턴 void

OnPreviewDrop() 보호된 메소드

protected OnPreviewDrop ( System.Windows.DragEventArgs e ) : void
e System.Windows.DragEventArgs
리턴 void

OnPreviewMouseLeftButtonDown() 보호된 메소드

protected OnPreviewMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnPreviewMouseMove() 보호된 메소드

protected OnPreviewMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
리턴 void

OnPreviewMouseUp() 보호된 메소드

protected OnPreviewMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnTryMoved() 보호된 메소드

protected OnTryMoved ( object source, object target ) : void
source object
target object
리턴 void

프로퍼티 상세

EnableSortByDragAndDropProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows EnableSortByDragAndDropProperty
리턴 System.Windows.DependencyProperty