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

Merged
merged 4 commits into from
May 16, 2025

Conversation

dx-bogdanov
Copy link
Contributor

No description provided.

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

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
Contributor

@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 ))

@dx-bogdanov dx-bogdanov merged commit 8fd75a3 into DevExpress-Examples:25.1.3+ May 16, 2025
1 check failed
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