C1.Silverlight.FlexGrid.5
Util Class Members
Properties  Methods 

The following tables list the members exposed by Util.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)ThicknessEmptyGets an empty System.Windows.Thickness.  
Public Propertystatic (Shared in Visual Basic)TransparentBrushGets a transparent brush.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CancelBindingsRemoves all bindings from an element and its children, effectively canceling any edits made using the element.  
Public Methodstatic (Shared in Visual Basic)CloneBindingCreates a clone of a given binding.  
Public Methodstatic (Shared in Visual Basic)ContainsFocusGets a value that determines whether an element or any of its children contains the focus.  
Public Methodstatic (Shared in Visual Basic)CreatePolygonCreates a polygon (used to create sort and tree glyphs).  
Public Methodstatic (Shared in Visual Basic)GetBindingExpressionReturns the BindingExpression associated with an editor.  
Public Methodstatic (Shared in Visual Basic)GetChildrenOfType<T>Gets an element's children of a given type.  
Public Methodstatic (Shared in Visual Basic)GetEquivalentCultureGets a System.Globalization.CultureInfo to match a given System.Windows.Markup.XmlLanguage.  
Public Methodstatic (Shared in Visual Basic)GetFirstChildOfType<T>Gets an element's first child of a given type.  
Public Methodstatic (Shared in Visual Basic)GetParentOfType<T>Gets an element's first ancestor of a given type.  
Public Methodstatic (Shared in Visual Basic)GetPositionSimilar to e.GetPosition, but works in zoomed popups.  
Public Methodstatic (Shared in Visual Basic)GetValueFromBindingsReturns the current value on a binding source so caller can update the target explicitly (because Silverlight doesn't have binding.UpdateTarget)  
Public Methodstatic (Shared in Visual Basic)IsPrimitiveGets whether a type is a primitive type or a string.  
Public Methodstatic (Shared in Visual Basic)PositionPopupPosition a popup below a FrameworkElement.  
Public Methodstatic (Shared in Visual Basic)SetBindingValidationTurns validation on or off for a new given binding.  
Public Methodstatic (Shared in Visual Basic)SetFocusAttempts to set the focus to a given control.  
Public Methodstatic (Shared in Visual Basic)UpdateBindingSourceUpdates the binding source for an editor cell (without waiting for it to lose focus).  
Top
See Also

Reference

Util Class
C1.Util Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.