Sets the value of the IsBarReadOnly attached property for a specified element such as an entity item. The IsBarReadOnly property value indicates whether the bar representing an entity item is read only in the ChartViewBase control. Overriding the default value for a specific item requires that the AreItemUserPermissionsApplied property of the control to be set to true.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)

Syntax

C#
public static void SetIsBarReadOnly(
	DependencyObject element,
	bool isBarReadOnly
)
Visual Basic (Declaration)
Public Shared Sub SetIsBarReadOnly ( _
	element As DependencyObject, _
	isBarReadOnly As Boolean _
)

Parameters

element
Type: System.Windows..::.DependencyObject
isBarReadOnly
Type: System..::.Boolean

See Also