Click or drag to resize
BarcodeBase Class
This is the base class for all bar code type controls.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.Barcode
Assembly: Telerik.Windows.Controls.DataVisualization (in Telerik.Windows.Controls.DataVisualization.dll) Version: 2018.2.620.40 (2018.2.620.40)
Syntax
public abstract class BarcodeBase : Control

The BarcodeBase type exposes the following members.

Constructors
  NameDescription
Protected methodBarcodeBase
Initializes a new instance of the BarcodeBase class.
Top
Methods
  NameDescription
Protected methodStatic memberGetLeadingZeros
This method gets all leading zeroes in a string.
Protected methodStatic memberGetTrailingZeros
This method gets all trailing zeroes in a string.
Public methodOnApplyTemplate
Overrides the OnApplyTemplate method.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodStatic memberRenderChecksumChangedHandler
Called when the RenderChecksum property is changed.
Protected methodStatic memberRestrictAspectRatioChangedHandler
Called when the RestrictAspectRatio property was changed.
Protected methodStatic memberSetGridDimensions
This method sets the dimensions of the barcode.
Protected methodStatic memberShowChecksumChangedHandler
Called when the ShowChecksum property was changed.
Protected methodStatic memberShowTextChangedHandler
Called when the ShowText property was changed.
Protected methodStatic memberTextChangedHandler
Called when the Text property was changed.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberRenderChecksumProperty
Identifies the RenderChecksum dependency property.
Public fieldStatic memberRestrictAspectRatioProperty
Identifies the RestrictAspectRatio dependency property.
Public fieldStatic memberShowChecksumProperty
Identifies the ShowChecksum dependency property.
Public fieldStatic memberShowTextProperty
Identifies the ShowText dependency property.
Public fieldStatic memberTextProperty
Identifies the BarcodeText dependency property.
Top
Properties
  NameDescription
Protected propertyBarcodeEncodedText
This is the encoded text.
Protected propertyChecksum
This is the checksum, calculated on the barcode.
Public propertyRenderChecksum
Gets or sets a value that determines whether the checksum should be included in the barcode's image. By default this property is set to true. Scanning barcodes with most of the standards will be possible only when they include checksum. You could use this property to turn off the auto calculated checksum if you have already calculated it yourself and passed it as part of the Text property.
Public propertyRestrictAspectRatio
Gets or sets a boolean value, indicating whether the aspect ratio should be preserved or not.
Public propertyShowChecksum
Gets or sets a value that determines whether the checksum will be displayed at the end of the text.
Public propertyShowText
Gets or sets a value that determines whether the text will be displayed.
Public propertyText
Gets or sets the Text entered by the user.
Top
See Also