wpf-devexpress-dot-xpf-dot-grid-dot-basecolumn-903e47a0.md
Identifies the BaseColumn.Width dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public static readonly DependencyProperty WidthProperty
Public Shared ReadOnly WidthProperty As DependencyProperty
| Type | Description |
|---|---|
| DependencyProperty |
A dependency property identifier.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WidthProperty field.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
void OnAllowProperty(object sender, AllowPropertyEventArgs e) {
if (e.DependencyProperty == GridColumn.WidthProperty)
e.Allow = false;
Private Sub OnAllowProperty(ByVal sender As Object, ByVal e As AllowPropertyEventArgs)
If e.DependencyProperty Is BaseColumn.WidthProperty Then e.Allow = False
End Sub
See Also