Commit 2617db3
authored
Clarify DialogHost.Close parameter documentation
The documentation for DialogHost.Close(...) described the `parameter` argument
as being "to provide to close handler", which is misleading and incomplete.
Internally, DialogHost.Close forwards the value directly to
DialogSession.Close(parameter). In DialogSession.Close, the parameter is
correctly documented as the dialog result value, which is returned by
DialogHost.Show(...) and exposed through DialogClosingEventArgs.Parameter.
This change aligns the DialogHost.Close documentation with the existing
DialogSession.Close documentation, making it clear that the parameter represents
the dialog result and is not solely intended for close handlers.1 parent febcef3 commit 2617db3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments