Skip to content

Use the official DxChartListEditor from v25.1 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 25.1.3+
Choose a base branch
from

Conversation

dx-bogdanov
Copy link

No description provided.

protected override void OnParametersSet()
{
base.OnParametersSet();
if (ChartEditor.ChartModel is DxPieChartModel pieChart)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any possibility ChartEditor.ChartModel is not DxPieChartModel?)

View.CustomizeViewItemControl<ListPropertyEditor>(this, listPropertyEditor => {
if(listPropertyEditor.ListView.Editor is not DxChartListEditor mapItemDxChartListEditor) { return; }
_chartListEditor = mapItemDxChartListEditor;
_chartListEditor.ControlsCreated += ChartListEditorOnControlsCreated;
Copy link

@vladimirlashko vladimirlashko Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually on the moment of CustomizeViewItemControl control is already created - please check if this customization works correctly. I know it is just a refactoring of existing code, but maybe it is time to fix ))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants