PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderObject Class


In This Topic
    RenderObject Class Methods
    In This Topic

    For a list of all members of this type, see RenderObject members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Assigns (copies) properties from another RenderObject to the current object. The list of fragments (the Fragments property) is neither copied nor changed. Properties UserData, PageNumberingChange are copied by reference. The Name property is not copied.  
    Public MethodCalculates the size of the current object. When this method is called, the object must already have been added to the document (e.g. to Body or to Children of another object in the document). See remarks for more details.  
    Public MethodOverloaded. Clones the current RenderObject.  
    Public MethodCalculates the count of objects which are nested within this object. This method takes into account child objects and their children.  
    Public MethodCalculates the number of objects which are owned by the current object.  
    Public MethodReturns the index of the specified RenderFragment of the current object in the Fragments collection.  
    Top
    Protected Methods
     NameDescription
    Protected MethodFor internal use.  
    Protected MethodCreates instance of object same type as current RenderObject object.  
    Protected MethodGets the value of a child's ambient style property.  
    Protected MethodOverride this method and return false if you want manually copy of children objects for this object. This method returns true by default.  
    Protected MethodReturns the C1.C1Preview.DataBinding.C1DataBinding object for a specified child object.  
    Protected MethodGets the default value for the Clip property.  
    Protected MethodGets the default value for the Flags property.  
    Protected MethodGets the default value for the Height property.  
    Protected MethodGets the default value for the SplitHorzBehavior property.  
    Protected MethodGets the default value for the SplitVertBehavior property.  
    Protected MethodGets the default value for the Width property.  
    Protected MethodReturns a human-readable textual description of the location of the current object in the document.  
    Protected MethodReturns the value of flag. The object has private field: private int _flags; This field can be used for storing various boolean properties (CanSplitHorz, CanSplitVert etc), for example CanSplitHorz property defined as: public bool CanSplitHorz { get { return GetFlag(c_flgCanSplitVert); } set { SetFlag(c_flgCanSplitVert, value); } }  
    Protected MethodOverride this method to perform additional actions when value of the Height property of object is being read.  
    Protected MethodGets the value of a child's non-ambient style property.  
    Protected MethodIndicates whether to automatically process data binding on child objects. The default implementation returns true, override it and return false if custom child data binding processing is required.  
    Protected MethodOverride this method to perform additional actions when value of the Width property of object is being read.  
    Protected MethodPerforms some initializations.  
    Protected MethodFor internal use only.  
    Protected MethodResolves the values of calculated fields of object.  
    Protected MethodResolves the calculated values of object's style.  
    Protected MethodThis method is called once after the current RenderObject has been fully resolved. At the time of the call all RenderFragment objects a built and placed on their pages. Override it to perform custom processing at that time.  
    Protected MethodThis method is called once for each object, override it to perform custom initialization.  
    Protected MethodInternal use only.  
    Protected MethodSets value of flag.  
    Protected MethodOverride this method to perform additional actions when value of the Height property of object is being defined.  
    Protected MethodOverride this method to perform additional actions when value of the SplitHorzBehavior property of object is being defined.  
    Protected MethodOverride this method to perform additional actions when value of the SplitVertBehavior property of object is being defined.  
    Protected MethodOverride this method to perform additional actions when value of the Width property of object is being defined.  
    Protected MethodTests whether the Children property should be serialized.  
    Protected MethodTests whether the Clip property should be serialized.  
    Protected MethodTests whether the Flags property should be serialized.  
    Protected MethodTests whether the Height property should be serialized.  
    Protected MethodTests whether the Name property should be serialized.  
    Protected MethodTests whether the SplitHorzBehavior property should be serialized.  
    Protected MethodTests whether the SplitVertBehavior property should be serialized.  
    Protected MethodTests whether the Style property should be serialized.  
    Protected MethodTests whether the Width property should be serialized.  
    Protected MethodTests whether the X property should be serialized.  
    Protected MethodTests whether the Y property should be serialized.  
    Top
    See Also