WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridPercentColumn

    Show / Hide Table of Contents

    Class GridPercentColumn

    Represents a column that displays the percent values in its cell content.

    Inheritance
    System.Object
    SfGridColumnBase<SfGridBase>
    GridColumnBase
    GridColumn
    GridTextColumnBase
    GridEditorColumn
    GridPercentColumn
    Implements
    System.IDisposable
    INotifyDependencyPropertyChanged
    IFilterDefinition
    Inherited Members
    GridEditorColumn.AllowScrollingOnCircleProperty
    GridEditorColumn.AllowNullValueProperty
    GridEditorColumn.NullValueProperty
    GridEditorColumn.NullTextProperty
    GridEditorColumn.MaxValidationProperty
    GridEditorColumn.MinValidationProperty
    GridEditorColumn.MinValueProperty
    GridEditorColumn.MaxValueProperty
    GridEditorColumn.CanAllowSpinOnMouseScroll()
    GridEditorColumn.AllowScrollingOnCircle
    GridEditorColumn.AllowNullValue
    GridEditorColumn.NullValue
    GridEditorColumn.NullText
    GridEditorColumn.MaxValidation
    GridEditorColumn.MinValidation
    GridEditorColumn.MinValue
    GridEditorColumn.MaxValue
    GridTextColumnBase.TextTrimmingProperty
    GridTextColumnBase.TextWrappingProperty
    GridTextColumnBase.TextDecorationsProperty
    GridTextColumnBase.TextTrimming
    GridTextColumnBase.TextWrapping
    GridTextColumnBase.TextDecorations
    GridColumn.FilterRowCellStyleProperty
    GridColumn.UseBindingValueProperty
    GridColumn.ColumnSizerProperty
    GridColumn.AllowDraggingProperty
    GridColumn.AllowGroupingProperty
    GridColumn.AllowResizingProperty
    GridColumn.AllowFilteringProperty
    GridColumn.ImmediateUpdateColumnFilterProperty
    GridColumn.FilterRowOptionsVisibilityProperty
    GridColumn.FilterRowConditionProperty
    GridColumn.FilterPopupStyleProperty
    GridColumn.FilterPopupTemplateProperty
    GridColumn.AllowBlankFiltersProperty
    GridColumn.FilterRowTextProperty
    GridColumn.IsCaseSensitiveFilterRowProperty
    GridColumn.GroupModeProperty
    GridColumn.SortModeProperty
    GridColumn.OnCellTemplateSelectorChanged(DependencyPropertyChangedEventArgs)
    GridColumn.OnCellTemplateChanged(DependencyPropertyChangedEventArgs)
    GridColumn.Dispose(Boolean)
    GridColumn.GetRowFilterType()
    GridColumn.GetFilterRowOptionsVisibility()
    GridColumn.SetCellType(String)
    GridColumn.CanFocus()
    GridColumn.IsHiddenColumn()
    GridColumn.CanEditCell(Int32)
    GridColumn.CreateInstanceCore()
    GridColumn.CanEndEditColumn()
    GridColumn.SetFilterRowText(String)
    GridColumn.OnDependencyPropertyChanged(String, DependencyPropertyChangedEventArgs)
    GridColumn.ColumnMemberType
    GridColumn.FilterRowCellStyle
    GridColumn.UseBindingValue
    GridColumn.ColumnSizer
    GridColumn.AllowDragging
    GridColumn.AllowGrouping
    GridColumn.AllowResizing
    GridColumn.AllowFiltering
    GridColumn.ImmediateUpdateColumnFilter
    GridColumn.FilterRowOptionsVisibility
    GridColumn.FilterRowCondition
    GridColumn.FilterPopupStyle
    GridColumn.FilterPopupTemplate
    GridColumn.AllowBlankFilters
    GridColumn.FilterRowText
    GridColumn.IsCaseSensitiveFilterRow
    GridColumn.GroupMode
    GridColumn.SortMode
    GridColumn.CellType
    GridColumn.FilteredFrom
    GridColumn.DataGrid
    GridColumn.FilterPredicates
    GridColumn.FilterBehavior
    GridColumn.ColumnFilter
    GridColumn.FilterRowEditorType
    GridColumnBase.ActualWidthProperty
    GridColumnBase.MappingNameProperty
    GridColumnBase.HeaderTextProperty
    GridColumnBase.AllowEditingProperty
    GridColumnBase.IsReadOnlyProperty
    GridColumnBase.GridValidationModeProperty
    GridColumnBase.UpdateTriggerProperty
    GridColumnBase.PaddingProperty
    GridColumnBase.AllowFocusProperty
    GridColumnBase.HeaderTemplateProperty
    GridColumnBase.CellTemplateProperty
    GridColumnBase.SetCellBoundValueProperty
    GridColumnBase.CellTemplateSelectorProperty
    GridColumnBase.CellStyleProperty
    GridColumnBase.CellStyleSelectorProperty
    GridColumnBase.HeaderStyleProperty
    GridColumnBase.AllowSortingProperty
    GridColumnBase.VerticalAlignmentProperty
    GridColumnBase.TextAlignmentProperty
    GridColumnBase.HorizontalHeaderContentAlignmentProperty
    GridColumnBase.WidthProperty
    GridColumnBase.IsHiddenProperty
    GridColumnBase.MaximumWidthProperty
    GridColumnBase.MinimumWidthProperty
    GridColumnBase.ShowHeaderToolTipProperty
    GridColumnBase.ToolTipTemplateProperty
    GridColumnBase.HeaderToolTipTemplateProperty
    GridColumnBase.ToolTipTemplateSelectorProperty
    GridColumnBase.ShowToolTipProperty
    GridColumnBase.SetCellBoundToolTipProperty
    GridColumnBase.OnUpdateBindingInfo(DependencyObject, DependencyPropertyChangedEventArgs)
    GridColumnBase.SetValueBindingConverter()
    GridColumnBase.CanEditCell()
    GridColumnBase.UpdateBindingForValidation(GridValidationMode)
    GridColumnBase.GetTypeface(GridColumnBase, GridCell)
    GridColumnBase.IsAutoGenerated
    GridColumnBase.IsTemplate
    GridColumnBase.ActualWidth
    GridColumnBase.MappingName
    GridColumnBase.HeaderText
    GridColumnBase.AllowEditing
    GridColumnBase.IsReadOnly
    GridColumnBase.GridValidationMode
    GridColumnBase.UpdateTrigger
    GridColumnBase.Padding
    GridColumnBase.AllowFocus
    GridColumnBase.HeaderTemplate
    GridColumnBase.CellTemplate
    GridColumnBase.SetCellBoundValue
    GridColumnBase.CellTemplateSelector
    GridColumnBase.CellStyle
    GridColumnBase.CellStyleSelector
    GridColumnBase.HeaderStyle
    GridColumnBase.AllowSorting
    GridColumnBase.VerticalAlignment
    GridColumnBase.TextAlignment
    GridColumnBase.HorizontalHeaderContentAlignment
    GridColumnBase.Width
    GridColumnBase.IsHidden
    GridColumnBase.MaximumWidth
    GridColumnBase.MinimumWidth
    GridColumnBase.ValueBinding
    GridColumnBase.DisplayBinding
    GridColumnBase.ShowHeaderToolTip
    GridColumnBase.ToolTipTemplate
    GridColumnBase.HeaderToolTipTemplate
    GridColumnBase.ToolTipTemplateSelector
    GridColumnBase.ShowToolTip
    GridColumnBase.SetCellBoundToolTip
    SfGridColumnBase<SfGridBase>.Dispose()
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class GridPercentColumn : GridEditorColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition

    Constructors

    GridPercentColumn()

    Initializes a new instance of GridPercentColumn class.

    Declaration
    public GridPercentColumn()

    Fields

    PercentDecimalDigitsProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalDigits dependency property.

    Declaration
    public static readonly DependencyProperty PercentDecimalDigitsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalDigits dependency property.

    PercentDecimalSeparatorProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalSeparator dependency property.

    Declaration
    public static readonly DependencyProperty PercentDecimalSeparatorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentDecimalSeparator dependency property.

    PercentEditModeProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentEditMode dependency property.

    Declaration
    public static readonly DependencyProperty PercentEditModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentEditMode dependency property.

    PercentGroupSeparatorProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSeparator dependency property.

    Declaration
    public static readonly DependencyProperty PercentGroupSeparatorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSeparator dependency property.

    PercentGroupSizesProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSizes dependency property.

    Declaration
    public static readonly DependencyProperty PercentGroupSizesProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentGroupSizes dependency property.

    PercentNegativePatternProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentNegativePattern dependency property.

    Declaration
    public static readonly DependencyProperty PercentNegativePatternProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentNegativePattern dependency property.

    PercentPositivePatternProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentPositivePattern dependency property.

    Declaration
    public static readonly DependencyProperty PercentPositivePatternProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentPositivePattern dependency property.

    PercentSymbolProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentSymbol dependency property.

    Declaration
    public static readonly DependencyProperty PercentSymbolProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridPercentColumn.PercentSymbol dependency property.

    Properties

    PercentDecimalDigits

    Gets or sets the number of decimal places to use in percent values.

    Declaration
    public int PercentDecimalDigits { get; set; }
    Property Value
    Type Description
    System.Int32

    The number of decimal places to use in percent values.

    PercentDecimalSeparator

    Gets or sets the string to use as the decimal separator in percent values.

    Declaration
    public string PercentDecimalSeparator { get; set; }
    Property Value
    Type Description
    System.String

    The string to use as the decimal separator in percent values.

    PercentEditMode

    Gets or sets a value that indicates whether the percent editor loads percent or double value being edited in GridPercentColumn.

    Declaration
    public PercentEditMode PercentEditMode { get; set; }
    Property Value
    Type Description
    PercentEditMode

    One of the PercentEditMode that decides the type of value loads in GridPercentColumn being edited. The default value is PercentEditMode.DoubleMode.

    PercentGroupSeparator

    Gets or sets the string that separates groups of digits to the left of the decimal in percent values.

    Declaration
    public string PercentGroupSeparator { get; set; }
    Property Value
    Type Description
    System.String

    The string that separates groups of digits to the left of the decimal in percent values.

    PercentGroupSizes

    Gets or sets the number of digits in each group to the left of the decimal in percent values.

    Declaration
    public Int32Collection PercentGroupSizes { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Int32Collection

    The number of digits in each group to the left of the decimal in percent values.

    PercentNegativePattern

    Gets or sets the format pattern for negative values in GridPercentColumn.

    Declaration
    public int PercentNegativePattern { get; set; }
    Property Value
    Type Description
    System.Int32

    The format pattern for negative percent values in GridPercentColumn.

    PercentPositivePattern

    Gets or sets the format pattern for the positive values in GridPercentColumn.

    Declaration
    public int PercentPositivePattern { get; set; }
    Property Value
    Type Description
    System.Int32

    The percent positive pattern in GridPercentColumn.

    PercentSymbol

    Gets or sets the string to use as the percent symbol.

    Declaration
    public string PercentSymbol { get; set; }
    Property Value
    Type Description
    System.String

    The string to use as the percent symbol.

    Methods

    SetDisplayBindingConverter()

    Sets the converter for the of column.

    Declaration
    protected override void SetDisplayBindingConverter()
    Overrides
    GridTextColumnBase.SetDisplayBindingConverter()
    Remarks

    You can override this method to specify the converter for .

    UpdateBindingBasedOnAllowEditing()

    Updates the binding for the AllowEdit property changes in the GridPercentColumn.

    Declaration
    protected override void UpdateBindingBasedOnAllowEditing()
    Overrides
    GridColumn.UpdateBindingBasedOnAllowEditing()

    Implements

    System.IDisposable
    INotifyDependencyPropertyChanged
    IFilterDefinition
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved