/
DataGridHyperlinkColumn.xml
483 lines (463 loc) · 36.1 KB
/
DataGridHyperlinkColumn.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<Type Name="DataGridHyperlinkColumn" FullName="System.Windows.Controls.DataGridHyperlinkColumn">
<TypeSignature Language="C#" Value="public class DataGridHyperlinkColumn : System.Windows.Controls.DataGridBoundColumn" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi DataGridHyperlinkColumn extends System.Windows.Controls.DataGridBoundColumn" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.DataGridHyperlinkColumn" />
<TypeSignature Language="VB.NET" Value="Public Class DataGridHyperlinkColumn
Inherits DataGridBoundColumn" />
<TypeSignature Language="F#" Value="type DataGridHyperlinkColumn = class
 inherit DataGridBoundColumn" />
<TypeSignature Language="C++ CLI" Value="public ref class DataGridHyperlinkColumn : System::Windows::Controls::DataGridBoundColumn" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DataGridHyperlinkColumn extends System.Windows.Controls.DataGridBoundColumn" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Controls.DataGridBoundColumn</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a <see cref="T:System.Windows.Controls.DataGrid" /> column that hosts <see cref="T:System.Uri" /> elements in its cells.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use <xref:System.Windows.Controls.DataGridHyperlinkColumn> to display data that contains a <xref:System.Uri>, such as an HTTP address or email address. The following illustration shows an example of a <xref:System.Windows.Controls.DataGridHyperlinkColumn>.
![DataGridHyperlinkColumn with email addresses](~/add/media/wpf-hyperlinkcolumn.png "DataGridHyperlinkColumn with email addresses")
> [!NOTE]
> <xref:System.Windows.Documents.Hyperlink> navigation can only occur if either the direct or indirect parent of a <xref:System.Windows.Documents.Hyperlink> is a navigation host. Examples of navigation hosts include <xref:System.Windows.Navigation.NavigationWindow>, <xref:System.Windows.Controls.Frame>, or any browser that can host XBAPs. For more information, see the "Navigation Hosts" article in [Navigation Overview](/dotnet/desktop/wpf/app-development/navigation-overview?view=netframeworkdesktop-4.8).
>
> For more information about XBAP support, see [Frequently asked questions about WPF browser-hosted applications (XBAP)](/dotnet/desktop/wpf/app-development/xbap-faq?view=netframeworkdesktop-4.8).
To populate the column, bind the column to the <xref:System.Uri> data by using the <xref:System.Windows.Controls.DataGridBoundColumn.Binding%2A> property. To display hyperlink text that is different than the URI string, bind the text value to the <xref:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding%2A> property. The <xref:System.Windows.Controls.DataGridBoundColumn.Binding%2A> property is applied to the <xref:System.Windows.Documents.Hyperlink> or <xref:System.Windows.Controls.TextBox> element created in the column. The <xref:System.Windows.FrameworkElement.DataContext%2A> for the element in each cell is the data item for the row the cell is in. Therefore, to set up the binding you only have to set the <xref:System.Windows.Data.Binding.Path%2A?displayProperty=nameWithType>. Optionally, you can specify a <xref:System.Windows.Data.Binding.Converter%2A?displayProperty=nameWithType> if you want to convert the data. For more information about data binding, see [Data Binding (WPF)](/dotnet/framework/wpf/data/data-binding-wpf).
> [!NOTE]
> <xref:System.Windows.Controls.DataGridHyperlinkColumn> creates a <xref:System.Windows.Documents.Hyperlink> element in the non-editing mode and a <xref:System.Windows.Controls.TextBox> element in the editing mode.
If you want to display other types of data, <xref:System.Windows.Controls.DataGrid> provides the following column types:
|Column Type|Data Display|
|-----------------|------------------|
|<xref:System.Windows.Controls.DataGridCheckBoxColumn>|Use to display Boolean data.|
|<xref:System.Windows.Controls.DataGridComboBoxColumn>|Use to display enumeration data.|
|<xref:System.Windows.Controls.DataGridTextColumn>|Use to display text.|
If you want to use other controls in your <xref:System.Windows.Controls.DataGrid>, you can create your own column types by using <xref:System.Windows.Controls.DataGridTemplateColumn>.
## Examples
The following example shows a <xref:System.Windows.Controls.DataGridHyperlinkColumn> that sets the <xref:System.Uri> with the <xref:System.Windows.Controls.DataGridBoundColumn.Binding%2A> property and the hyperlink text with the <xref:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding%2A> property. The <xref:System.Windows.Documents.Hyperlink.Click?displayProperty=nameWithType> event is handled automatically because <xref:System.Windows.Navigation.NavigationWindow> is the parent of the <xref:System.Windows.Controls.DataGrid>.
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml" id="Snippethyperlinka":::
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml" id="Snippethyperlinkb":::
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml" id="Snippethyperlink1":::
:::code language="xaml" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml" id="Snippethyperlinkc":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml.cs" id="Snippettop":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb" id="Snippettop":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml.cs" id="Snippetall2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb" id="Snippetall2":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml.cs" id="Snippetcustomerclass":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb" id="Snippetcustomerclass":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml.cs" id="Snippetallend":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb" id="Snippetallend":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Controls/DataGrid/Overview/window11.xaml.cs" id="Snippethyperlink3":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb" id="Snippethyperlink3":::
]]></format>
</remarks>
<altmember cref="T:System.Windows.Documents.Hyperlink" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DataGridHyperlinkColumn ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 DataGridHyperlinkColumn();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Controls.DataGridHyperlinkColumn" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CancelCellEdit">
<MemberSignature Language="C#" Value="protected override void CancelCellEdit (System.Windows.FrameworkElement editingElement, object uneditedValue);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void CancelCellEdit(class System.Windows.FrameworkElement editingElement, object uneditedValue) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.CancelCellEdit(System.Windows.FrameworkElement,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub CancelCellEdit (editingElement As FrameworkElement, uneditedValue As Object)" />
<MemberSignature Language="F#" Value="override this.CancelCellEdit : System.Windows.FrameworkElement * obj -> unit" Usage="dataGridHyperlinkColumn.CancelCellEdit (editingElement, uneditedValue)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override void CancelCellEdit(System::Windows::FrameworkElement ^ editingElement, System::Object ^ uneditedValue);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" Index="0" FrameworkAlternate="net-5.0;net-6.0;netcore-3.0;netcore-3.1;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;netframework-4.8.1;windowsdesktop-8.0;windowsdesktop-9.0" />
<Parameter Name="uneditedValue" Type="System.Object" Index="1" FrameworkAlternate="net-5.0;net-6.0;netcore-3.0;netcore-3.1;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;netframework-4.8.1;windowsdesktop-8.0;windowsdesktop-9.0" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<param name="uneditedValue">The previous, unedited value in the cell being edited.</param>
<summary>Causes the column cell being edited to revert to the specified value.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommitCellEdit">
<MemberSignature Language="C#" Value="protected override bool CommitCellEdit (System.Windows.FrameworkElement editingElement);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance bool CommitCellEdit(class System.Windows.FrameworkElement editingElement) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.CommitCellEdit(System.Windows.FrameworkElement)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CommitCellEdit (editingElement As FrameworkElement) As Boolean" />
<MemberSignature Language="F#" Value="override this.CommitCellEdit : System.Windows.FrameworkElement -> bool" Usage="dataGridHyperlinkColumn.CommitCellEdit editingElement" />
<MemberSignature Language="C++ CLI" Value="protected:
 override bool CommitCellEdit(System::Windows::FrameworkElement ^ editingElement);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" Index="0" FrameworkAlternate="net-5.0;net-6.0;netcore-3.0;netcore-3.1;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;netframework-4.8.1;windowsdesktop-8.0;windowsdesktop-9.0" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<summary>Performs any required validation before exiting edit mode.</summary>
<returns>
<see langword="false" /> if validation fails; otherwise, <see langword="true" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ContentBinding">
<MemberSignature Language="C#" Value="public System.Windows.Data.BindingBase ContentBinding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Data.BindingBase ContentBinding" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" />
<MemberSignature Language="VB.NET" Value="Public Property ContentBinding As BindingBase" />
<MemberSignature Language="F#" Value="member this.ContentBinding : System.Windows.Data.BindingBase with get, set" Usage="System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Data::BindingBase ^ ContentBinding { System::Windows::Data::BindingBase ^ get(); void set(System::Windows::Data::BindingBase ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Data.BindingBase</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the binding to the text of the hyperlink.</summary>
<value>The binding to the text of the hyperlink.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To display hyperlink text that is different than the URI string, use the <xref:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding%2A> property.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DefaultEditingElementStyle">
<MemberSignature Language="C#" Value="public static System.Windows.Style DefaultEditingElementStyle { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Windows.Style DefaultEditingElementStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridHyperlinkColumn.DefaultEditingElementStyle" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property DefaultEditingElementStyle As Style" />
<MemberSignature Language="F#" Value="static member DefaultEditingElementStyle : System.Windows.Style" Usage="System.Windows.Controls.DataGridHyperlinkColumn.DefaultEditingElementStyle" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::Windows::Style ^ DefaultEditingElementStyle { System::Windows::Style ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>The default value of the <see cref="P:System.Windows.Controls.DataGridBoundColumn.EditingElementStyle" /> property.</summary>
<value>An object that represents the style.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DefaultElementStyle">
<MemberSignature Language="C#" Value="public static System.Windows.Style DefaultElementStyle { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Windows.Style DefaultElementStyle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridHyperlinkColumn.DefaultElementStyle" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property DefaultElementStyle As Style" />
<MemberSignature Language="F#" Value="static member DefaultElementStyle : System.Windows.Style" Usage="System.Windows.Controls.DataGridHyperlinkColumn.DefaultElementStyle" />
<MemberSignature Language="C++ CLI" Value="public:
 static property System::Windows::Style ^ DefaultElementStyle { System::Windows::Style ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Style</ReturnType>
</ReturnValue>
<Docs>
<summary>The default value of the <see cref="P:System.Windows.Controls.DataGridBoundColumn.ElementStyle" /> property.</summary>
<value>An object that represents the style.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GenerateEditingElement">
<MemberSignature Language="C#" Value="protected override System.Windows.FrameworkElement GenerateEditingElement (System.Windows.Controls.DataGridCell cell, object dataItem);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.FrameworkElement GenerateEditingElement(class System.Windows.Controls.DataGridCell cell, object dataItem) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.GenerateEditingElement(System.Windows.Controls.DataGridCell,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function GenerateEditingElement (cell As DataGridCell, dataItem As Object) As FrameworkElement" />
<MemberSignature Language="F#" Value="override this.GenerateEditingElement : System.Windows.Controls.DataGridCell * obj -> System.Windows.FrameworkElement" Usage="dataGridHyperlinkColumn.GenerateEditingElement (cell, dataItem)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Windows::FrameworkElement ^ GenerateEditingElement(System::Windows::Controls::DataGridCell ^ cell, System::Object ^ dataItem);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cell" Type="System.Windows.Controls.DataGridCell" />
<Parameter Name="dataItem" Type="System.Object" />
</Parameters>
<Docs>
<param name="cell">The cell that will contain the generated element.</param>
<param name="dataItem">The data item represented by the row that contains the intended cell.</param>
<summary>Gets an editable <see cref="T:System.Windows.Controls.TextBox" /> element that is bound to the column's <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" /> property value.</summary>
<returns>A new text box control that is bound to the column's <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" /> property value.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GenerateElement">
<MemberSignature Language="C#" Value="protected override System.Windows.FrameworkElement GenerateElement (System.Windows.Controls.DataGridCell cell, object dataItem);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.FrameworkElement GenerateElement(class System.Windows.Controls.DataGridCell cell, object dataItem) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.GenerateElement(System.Windows.Controls.DataGridCell,System.Object)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function GenerateElement (cell As DataGridCell, dataItem As Object) As FrameworkElement" />
<MemberSignature Language="F#" Value="override this.GenerateElement : System.Windows.Controls.DataGridCell * obj -> System.Windows.FrameworkElement" Usage="dataGridHyperlinkColumn.GenerateElement (cell, dataItem)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Windows::FrameworkElement ^ GenerateElement(System::Windows::Controls::DataGridCell ^ cell, System::Object ^ dataItem);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.FrameworkElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cell" Type="System.Windows.Controls.DataGridCell" />
<Parameter Name="dataItem" Type="System.Object" />
</Parameters>
<Docs>
<param name="cell">The cell that will contain the generated element.</param>
<param name="dataItem">The data item represented by the row that contains the intended cell.</param>
<summary>Gets a read-only <see cref="T:System.Windows.Documents.Hyperlink" /> element that is bound to the column's <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" /> property value.</summary>
<returns>A new, read-only hyperlink element that is bound to the column's <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" /> property value.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnContentBindingChanged">
<MemberSignature Language="C#" Value="protected virtual void OnContentBindingChanged (System.Windows.Data.BindingBase oldBinding, System.Windows.Data.BindingBase newBinding);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnContentBindingChanged(class System.Windows.Data.BindingBase oldBinding, class System.Windows.Data.BindingBase newBinding) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.OnContentBindingChanged(System.Windows.Data.BindingBase,System.Windows.Data.BindingBase)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnContentBindingChanged (oldBinding As BindingBase, newBinding As BindingBase)" />
<MemberSignature Language="F#" Value="abstract member OnContentBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit
override this.OnContentBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit" Usage="dataGridHyperlinkColumn.OnContentBindingChanged (oldBinding, newBinding)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void OnContentBindingChanged(System::Windows::Data::BindingBase ^ oldBinding, System::Windows::Data::BindingBase ^ newBinding);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="oldBinding" Type="System.Windows.Data.BindingBase" />
<Parameter Name="newBinding" Type="System.Windows.Data.BindingBase" />
</Parameters>
<Docs>
<param name="oldBinding">The previous binding.</param>
<param name="newBinding">The binding that the column has been changed to.</param>
<summary>Notifies the <see cref="T:System.Windows.Controls.DataGrid" /> when the <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.ContentBinding" /> property changes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The default implementation notifies the data grid that the binding has changed.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="PrepareCellForEdit">
<MemberSignature Language="C#" Value="protected override object PrepareCellForEdit (System.Windows.FrameworkElement editingElement, System.Windows.RoutedEventArgs editingEventArgs);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance object PrepareCellForEdit(class System.Windows.FrameworkElement editingElement, class System.Windows.RoutedEventArgs editingEventArgs) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.PrepareCellForEdit(System.Windows.FrameworkElement,System.Windows.RoutedEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function PrepareCellForEdit (editingElement As FrameworkElement, editingEventArgs As RoutedEventArgs) As Object" />
<MemberSignature Language="F#" Value="override this.PrepareCellForEdit : System.Windows.FrameworkElement * System.Windows.RoutedEventArgs -> obj" Usage="dataGridHyperlinkColumn.PrepareCellForEdit (editingElement, editingEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Object ^ PrepareCellForEdit(System::Windows::FrameworkElement ^ editingElement, System::Windows::RoutedEventArgs ^ editingEventArgs);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="editingElement" Type="System.Windows.FrameworkElement" />
<Parameter Name="editingEventArgs" Type="System.Windows.RoutedEventArgs" />
</Parameters>
<Docs>
<param name="editingElement">The element that the column displays for a cell in editing mode.</param>
<param name="editingEventArgs">Information about the user gesture that is causing a cell to enter editing mode.</param>
<summary>Called when a cell in the column enters editing mode.</summary>
<returns>The unedited value of the cell.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RefreshCellContent">
<MemberSignature Language="C#" Value="protected internal override void RefreshCellContent (System.Windows.FrameworkElement element, string propertyName);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance void RefreshCellContent(class System.Windows.FrameworkElement element, string propertyName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.DataGridHyperlinkColumn.RefreshCellContent(System.Windows.FrameworkElement,System.String)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overrides Sub RefreshCellContent (element As FrameworkElement, propertyName As String)" />
<MemberSignature Language="F#" Value="override this.RefreshCellContent : System.Windows.FrameworkElement * string -> unit" Usage="dataGridHyperlinkColumn.RefreshCellContent (element, propertyName)" />
<MemberSignature Language="C++ CLI" Value="protected public:
 override void RefreshCellContent(System::Windows::FrameworkElement ^ element, System::String ^ propertyName);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.FrameworkElement" />
<Parameter Name="propertyName" Type="System.String" />
</Parameters>
<Docs>
<param name="element">The cell to update.</param>
<param name="propertyName">The name of the column property that has changed.</param>
<summary>Refreshes the contents of a cell in the column in response to a column property value change.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TargetName">
<MemberSignature Language="C#" Value="public string TargetName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string TargetName" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.DataGridHyperlinkColumn.TargetName" />
<MemberSignature Language="VB.NET" Value="Public Property TargetName As String" />
<MemberSignature Language="F#" Value="member this.TargetName : string with get, set" Usage="System.Windows.Controls.DataGridHyperlinkColumn.TargetName" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ TargetName { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of a target window or frame for the hyperlink.</summary>
<value>The name of the target window or frame. The registered default is <see langword="null" />. For information about what can influence the value, see <see cref="T:System.Windows.DependencyProperty" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is equivalent to the <xref:System.Windows.Documents.Hyperlink.TargetName%2A> property on <xref:System.Windows.Documents.Hyperlink>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="TargetNameProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty TargetNameProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty TargetNameProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.DataGridHyperlinkColumn.TargetNameProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TargetNameProperty As DependencyProperty " />
<MemberSignature Language="F#" Value=" staticval mutable TargetNameProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.DataGridHyperlinkColumn.TargetNameProperty" />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ TargetNameProperty;" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.DataGridHyperlinkColumn.TargetName" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>