Back to Devexpress

PopupControlContainerInfo Class

wpf-devexpress-dot-xpf-dot-bars-d9765397.md

latest4.6 KB
Original Source

PopupControlContainerInfo Class

This class can be used as a substitute for a PopupControlContainer object, when it’s required to initialize a property with a PopupControlContainer object in XAML.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class PopupControlContainerInfo :
    BarPopupExpandableInfo<PopupControlContainer>
vb
Public Class PopupControlContainerInfo
    Inherits BarPopupExpandableInfo(Of PopupControlContainer)

Remarks

Visual Studio has a design-time issue that may cause an exception in an XAML file when you initialize a property with a PopupControlContainer object. If this is the case, initialize this property with the PopupControlContainerInfo object instead. The PopupControlContainerInfo internally creates a corresponding PopupControlContainer and has the same settings as the PopupControlContainer.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PopupControlContainerInfo class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L75

xml
<dxo:BarSplitButtonColorEditItem x:Name="biFormatFontColor" Command="{Binding FormatFontColor, Mode=OneTime, Source={StaticResource commands}}">
    <dxb:PopupControlContainerInfo>
        <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False" />

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L75

xml
<Custom:BarSplitButtonColorEditItem x:Name="biFormatFontColor" Command="{Binding FormatFontColor, Mode=OneTime, Source={StaticResource commands}}">
    <dxb:PopupControlContainerInfo>
        <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False" />

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/CS/DataBindingToListExample/MainWindow.xaml#L70

xml
<Custom:BarSplitButtonColorEditItem x:Name="biFormatFontColor" Command="{Binding FormatFontColor, Mode=OneTime, Source={StaticResource commands}}">
    <dxb:PopupControlContainerInfo>
        <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False"/>

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement PopupInfo<PopupControlContainer> DevExpress.Xpf.Bars.BarPopupExpandableInfo<PopupControlContainer> PopupControlContainerInfo

See Also

PopupControlContainerInfo Members

DevExpress.Xpf.Bars Namespace