本文整理汇总了VB.NET中System.Windows.Documents.InlineUIContainer.InlineUIContainer构造函数的典型用法代码示例。如果您正苦于以下问题:VB.NET InlineUIContainer构造函数的具体用法?VB.NET InlineUIContainer怎么用?VB.NET InlineUIContainer使用的例子?那么恭喜您, 这里精选的构造函数代码示例或许可以为您提供帮助。
在下文中一共展示了InlineUIContainer构造函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1: Button
' A child UIElement element for the new InlineUIContainer element.
Dim buttonx1 As New Button()
buttonx1.Content = "Click me!"
' After this line executes, the new element "inlineUI"
' contains the specified Inline element, "runx".
Dim inlineUI As New InlineUIContainer(buttonx1)
示例2: Button
' A child UIElement element for the new InlineUIContainer element.
Dim buttonx2 As New Button()
buttonx2.Content = "Click me!"
' An empty paragraph will serve as the container for the new InlineUIContainer element.
Dim parx As New Paragraph()
' After this line executes, the new element "inlineUI"
' contains the specified UIElement element, "buttonx". Also, "inlineUI" is
' inserted at the point indicated by the insertionPosition parameter,
' which in this case indicates the content start position in the Paragraph
' element "parx".
Dim inlineUI2 As New InlineUIContainer(buttonx2, parx.ContentStart)