/// <summary> /// Sets whether a column is the primary sort in a list. /// </summary> /// <param name="element">The dependency object that the property will be attached to.</param> /// <param name="value">The new value.</param> static private void SetIsPrimarySortColumn(DependencyObject element, bool value) { element.SetValue(IsPrimarySortColumnPropertyKey, BooleanBoxes.Box(value)); }
/// <summary> /// Sets the value for IsTextTrimmedProperty that is attached to the element. /// </summary> /// <param name="element">The dependency object that the property will be attached to.</param> /// <param name="value">The new value.</param> static private void SetIsTextTrimmed(DependencyObject element, bool value) { element.SetValue(IsTextTrimmedPropertyKey, BooleanBoxes.Box(value)); }
/// <summary> /// Sets a value indicating that the Text has been trimmed external to the element. /// </summary> /// <param name="element">The dependency object that the property will be attached to.</param> /// <param name="value">The new value.</param> static public void SetIsTextTrimmedExternally(DependencyObject element, bool value) { element.SetValue(IsTextTrimmedExternallyProperty, BooleanBoxes.Box(value)); }
/// <summary> /// Sets the value for IsTextTrimMonitoringEnabled that is attached to the element. /// </summary> /// <param name="element">The dependency object that the property will be attached to.</param> /// <param name="value">The new value.</param> static public void SetIsTextTrimmedMonitoringEnabled(DependencyObject element, bool value) { element.SetValue(IsTextTrimmedMonitoringEnabledProperty, BooleanBoxes.Box(value)); }