InkCanvas.Select 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
잉크 Stroke 개체 및/또는 FrameworkElement 개체 집합을 선택합니다.
오버로드
| Name | Description |
|---|---|
| Select(IEnumerable<UIElement>) |
개체 집합 UIElement 을 선택합니다. |
| Select(StrokeCollection) |
잉크 Stroke 개체 집합을 선택합니다. |
| Select(StrokeCollection, IEnumerable<UIElement>) |
설명
InkCanvas 사용자 스타일러스 입력에 대한 응답으로 만들어지는 개체와 Stroke 개체와 같은 FrameworkElementImage 개체를 포함 Button 할 수 있습니다.
선택한 스트로크는 인식 및 조작의 용이성을 위해 주위에 표시기와 함께 표시됩니다. FrameworkElement 를 선택하면 개체가 다르게 표시되지 않습니다.
Select(IEnumerable<UIElement>)
개체 집합 UIElement 을 선택합니다.
public:
void Select(System::Collections::Generic::IEnumerable<System::Windows::UIElement ^> ^ selectedElements);
public void Select(System.Collections.Generic.IEnumerable<System.Windows.UIElement> selectedElements);
member this.Select : seq<System.Windows.UIElement> -> unit
Public Sub Select (selectedElements As IEnumerable(Of UIElement))
매개 변수
- selectedElements
- IEnumerable<UIElement>
선택할 개체의 UIElement 컬렉션입니다.
예제
다음 예제에서는 모든 스트로크와 두 요소를 InkCanvas선택합니다. 이 예제에서는 TextBox 호출 및 textbox1 호출 Buttonbutton1 이 있고 두 컨트롤이 모두 해당 컨트롤의 InkCanvas자식 요소라고 가정합니다.
inkCanvas1.Select(inkCanvas1.Strokes, new UIElement[] { textbox1, button1 });
inkCanvas1.Select(inkCanvas1.Strokes, New UIElement() {textbox1, button1})
설명
InkCanvas 사용자 스타일러스 입력 및 Stroke 개체(예: UIElementImage 개체)에 대한 응답으로 만들어지는 개체를 포함 Button 할 수 있습니다.
선택한 스트로크는 인식 및 조작의 용이성을 위해 주위에 표시기와 함께 표시됩니다.
UIElement 를 선택하면 개체가 다르게 표시되지 않습니다. In UIElementselectedElements 이 Children 컬렉션 Select 에 없으면 무시합니다 UIElement.
적용 대상
Select(StrokeCollection)
잉크 Stroke 개체 집합을 선택합니다.
public:
void Select(System::Windows::Ink::StrokeCollection ^ selectedStrokes);
public void Select(System.Windows.Ink.StrokeCollection selectedStrokes);
member this.Select : System.Windows.Ink.StrokeCollection -> unit
Public Sub Select (selectedStrokes As StrokeCollection)
매개 변수
- selectedStrokes
- StrokeCollection
선택할 개체의 Stroke 컬렉션입니다.
예외
하나 이상의 스트로크가 selectedStrokes 속성에 Strokes 없습니다.
예제
다음 예제에서는 모든 스트로크와 두 요소를 InkCanvas선택합니다. 이 예제에서는 TextBox 호출 및 textbox1 호출 Buttonbutton1 이 있고 두 컨트롤이 모두 해당 컨트롤의 InkCanvas자식 요소라고 가정합니다.
inkCanvas1.Select(inkCanvas1.Strokes, new UIElement[] { textbox1, button1 });
inkCanvas1.Select(inkCanvas1.Strokes, New UIElement() {textbox1, button1})
설명
InkCanvas 사용자 스타일러스 입력에 대한 응답으로 만들어지는 개체와 Stroke 개체와 같은 FrameworkElementImage 개체를 포함 Button 할 수 있습니다.
선택한 스트로크는 인식 및 조작의 용이성을 위해 주위에 표시기와 함께 표시됩니다. FrameworkElement 개체는 선택할 때 다르게 표시되지 않습니다.
적용 대상
Select(StrokeCollection, IEnumerable<UIElement>)
public:
void Select(System::Windows::Ink::StrokeCollection ^ selectedStrokes, System::Collections::Generic::IEnumerable<System::Windows::UIElement ^> ^ selectedElements);
public void Select(System.Windows.Ink.StrokeCollection selectedStrokes, System.Collections.Generic.IEnumerable<System.Windows.UIElement> selectedElements);
member this.Select : System.Windows.Ink.StrokeCollection * seq<System.Windows.UIElement> -> unit
Public Sub Select (selectedStrokes As StrokeCollection, selectedElements As IEnumerable(Of UIElement))
매개 변수
- selectedStrokes
- StrokeCollection
선택할 개체의 Stroke 컬렉션입니다.
- selectedElements
- IEnumerable<UIElement>
선택할 개체의 UIElement 컬렉션입니다.
예외
하나 이상의 스트로크가 selectedStrokes 속성에 Strokes 포함되지 않습니다.
예제
다음 예제에서는 모든 스트로크와 두 요소를 InkCanvas선택합니다. 이 예제에서는 TextBox 호출 및 textbox1 호출 Buttonbutton1 이 있고 두 컨트롤이 모두 해당 컨트롤의 InkCanvas자식 요소라고 가정합니다.
inkCanvas1.Select(inkCanvas1.Strokes, new UIElement[] { textbox1, button1 });
inkCanvas1.Select(inkCanvas1.Strokes, New UIElement() {textbox1, button1})
설명
InkCanvas 사용자 스타일러스 입력 및 Stroke 개체(예: UIElementImage 개체)에 대한 응답으로 만들어지는 개체를 포함 Button 할 수 있습니다.
선택한 스트로크는 인식 및 조작의 용이성을 위해 주위에 표시기와 함께 표시됩니다.
UIElement 를 선택하면 개체가 다르게 표시되지 않습니다. In UIElementselectedElements 이 Children 컬렉션 Select 에 없으면 무시합니다 UIElement.