wpf-devexpress-dot-xpf-dot-editors-beef5770.md
Represents a calculator displayed within a dropdown window.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
[DXLicenseWpfEditors]
public class PopupCalcEdit :
PopupBaseEdit
<DXLicenseWpfEditors>
Public Class PopupCalcEdit
Inherits PopupBaseEdit
The PopupCalcEdit is shown in the image below:
Tip
The PopupCalcEdit class inherits its features from the PopupBaseEdit class.
Refer to the PopupBaseEdit class description for information on derived features and API.
<Window ...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<!-- Adds a default PopupCalcEdit to your window -->
<dxe:PopupCalcEdit />
</Window>
The editor’s value can be specified using the BaseEdit.EditValue or PopupCalcEdit.Value property.
<Window ...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<!-- Specify value using the BaseEdit.EditValue property -->
<dxe:PopupCalcEdit EditValue="0"/>
<!-- Specify value using the PopupCalcEdit.Value property -->
<dxe:PopupCalcEdit Value="0"/>
To respond to changing the editor’s value, handle the BaseEdit.EditValueChanged event. To check the new value’s validity, handle the BaseEdit.Validate event.
PopupCalcEdit features include:
The IsPopupAutoWidth property specifies whether the popup calculator’s width is automatically adjusted to the editor’s width.
Show 13 items
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control BaseEdit TextEditBase TextEdit ButtonEdit PopupBaseEdit PopupCalcEdit
See Also