AmitDiwan has Published 10744 Articles

Char.IsControl(String, Int32) Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 08:06:22

523 Views

The Char.IsControl(String, Int32) method in C# is used to indicate whether the character at the specified position in a specified string is categorized as a control character.Syntaxpublic static bool IsControl (string str, int index);Above, str is a string. The index parameter is the position of the character to evaluate in ... Read More

Dictionary.ContainsValue() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 07:59:08

4K+ Views

The Dictionary.ContainsValue() method in C# is used to check whether the Dictionary contains a specific value or not.Syntaxpublic bool ContainsValue (TValue val);Above, Val is the value to be searched.Let us now see an example to implement the Dictionary.ContainsValue() method −Exampleusing System; using System.Collections.Generic; public class Demo {    public static ... Read More

Dictionary.ContainsKey() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 07:49:19

2K+ Views

The Dictionary.ContainsKey() method in C# checks whether the Dictionary

HTML DOM Video currentSrc Property

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 07:08:30

113 Views

The HTML DOM Video currentSrc property returns a string corresponding to the url of the video.Following is the syntax −Returning string valuemediaObject.currentSrcLet us see an example of HTML DOM Video currentSrc property −Example HTML DOM Video currentSrc    * {       padding: 2px;     ... Read More

HTML DOM Ul Object

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:32:25

128 Views

The HTML DOM Ul Object in HTML represents the element.Creating a elementvar ulObject = document.createElement(“UL”)Here, “ulObject” can have the following properties but are not supported in HTML5 −PropertyDescriptioncompactItsets/returns whether the unordered list should be displayedsmaller than usualtypeItsets/returns the value of the type attribute of an unordered listLet us ... Read More

HTML DOM Underline Object

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:23:35

190 Views

The HTML DOM Underline Object in HTML represents the element.Creating a elementvar uObject = document.createElement(“U”)Let us see an example of Underline element −Example Live Demo HTML DOM Underline    form {       width:70%;       margin: 0 auto;       text-align: center; ... Read More

HTML DOM UiEvent Object

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:18:42

67 Views

The HTML DOM UiEvent Object represents an event which incurs on user’s interaction with HTML elements.Here, “UiEvent” can have the following properties and methods −Property/MethodDescriptiondetailItreturns a number with details about the eventviewItreturns a reference to the Window object where the event occurredLet us see an example of Event detail property ... Read More

HTML DOM Event type Property

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:10:14

126 Views

The HTML DOM Event type property returns a string corresponding to the event’s type such as click, keypress, load, or touchend.Following is the syntax −Returning number of seconds a transition has run −event.typeLet us see an example of Event type property −Example Live Demo HTML DOM Event type ... Read More

HTML DOM TransitionEvent Object

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:05:46

91 Views

The HTML DOM TransitionEvent Object represents an event which incurs on a transition.Here, “TransitionEvent” can have the following properties and methods −Property/MethodDescriptionpropertyNameItreturns returns astring corresponding to a CSS property used for transition when atransition event is triggeredelapsedTimeItreturns a numbercorresponding to how many seconds a transition had run when atransition event ... Read More

HTML DOM TransitionEvent propertyName Property

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 06:00:35

81 Views

The HTML DOM TransitionEvent propertyName property returns a string corresponding to a CSS property used for transition when a transition event is triggered.Following is the syntax −Returning CSS property that transition has used −transitionEvent.propertyNameLet us see an example of TransitionEvent propertyName property −Example Live Demo TransitionEvent propertyName   ... Read More

Advertisements