You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Controls Namespace > Classes > MtxGridView Class
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxGridView Class

Visual control for simple viewing/editing of vector or matrix values.

Dew_Math_Controls_MtxGridView
Syntax
C#
Visual Basic
public class MtxGridView : System.Windows.Forms.DataGridView;

MtxGridView.cs

Use this control to view and edit matrix or vector values. Simply drop control on the form and connect it to vector or matrix object by setting it's DataObject property.

Display matrix, do not allow user to change values.

using Dew.Math; using Dew.Math.Controls; namespace Dew.Examples { private void Example(MtxGridView mgv) { Matrix m = new Matrix(10,3); m.RandGauss(); mgv.ReadOnly = true; mgv.ShowObjectInfo = true; mgv.DataObject = m; } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!